Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

checkpw(8) [debian man page]

checkpw(8)						      System Manager's Manual							checkpw(8)

NAME
checkpw - checks password against the file ~/Maildir/.password SYNOPSIS
checkpw prog DESCRIPTION
checkpw reads descriptor 3 through end of file and then closes descriptor 3. There must be at most 512 bytes of data before end of file. The information supplied on descriptor 3 is a login name terminated by , a password terminated by , a timestamp terminated by , and possibly more data. There are no other restrictions on the form of the login name, password, and timestamp. If the password is unacceptable, checkpw exits 1. If checkpw is misused, it may instead exit 2. If there is a temporary problem checking the password, checkpw exits 111. If the password is acceptable, checkpw runs prog. prog consists of one or more arguments. Compatible tools There are other tools that offer the same interface as checkpw Note that these tools do not follow the getopt interface. Optional features are controlled through (1) the tool name and (2) environment variables. The password database checkpw checks the password against the content of the file Maildir/.password in the user's home directory corresponding to the login name. Maildir may be overidden through the environment variable $MAILDIR. Process-state changes Before invoking prog, checkpw sets up $USER, $HOME, $SHELL, its supplementary groups, its gid, its uid, and its working directory. FILES
~/Maildir/.password SEE ALSO
checkapoppw(8), qmail-popup(8), qmail-pop3d(8) AUTHOR
This manual page was written by Gerrit Pape <pape@smarden.org>, for the Debian GNU/Linux system. checkpw(8)

Check Out this Related Man Page

qmail-popup(8)                                                System Manager's Manual                                               qmail-popup(8)

NAME
qmail-popup - read a POP username and password SYNOPSIS
qmail-popup hostname subprogram DESCRIPTION
qmail-popup reads a POP username and password from the network. It then runs subprogram. qmail-popup is most commonly invoked from inetd as qmail-popup CHANGEME checkpassword qmail-pop3d Maildir with CHANGEME replaced by the fully qualified domain name of the local host. qmail-popup expects descriptor 0 to read from the network and descriptor 1 to write to the network. It reads a username and password from descriptor 0 in POP's USER-PASS style or APOP style. It invokes subprogram, with the same descriptors 0 and 1; descriptor 2 writing to the network; and descriptor 3 reading the username, a 0 byte, the password, another 0 byte, an APOP timestamp derived from hostname, and a final 0 byte. qmail-popup then waits for subprogram to finish. It prints an error message if subprogram crashes or exits nonzero. qmail-popup should be used only within a secure network. Otherwise an eavesdropper can steal passwords. Even if you use APOP, an active attacker can still take over the connection and wreak havoc. qmail-popup has a 20-minute idle timeout. qmail-popup is based on a program contributed by Russ Nelson. SEE ALSO
maildir(5), qmail-local(8), qmail-pop3d(8) qmail-popup(8)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

I neede help!!!

Hello guys! Im new and im german, so please forgive my very bad english! I have a problem... I have never worked out with Unix, but now i have the Job to save data from an old unix-system... Surely noone knows the rootpassword of the system... So i dont know how to save the data... ... (15 Replies)
Discussion started by: Treuenfels
15 Replies

2. Programming

Tools

hi, i'm using slackware 8 and i'm planning on doing some coding in C, but i don't have the tools (only gcc and not much more). what do you recommend? are there any editor and debuggers all in one prog? thx in advance for any suggestion (1 Reply)
Discussion started by: crashnburn
1 Replies

3. UNIX for Dummies Questions & Answers

password protecting a directory

I need to password protect a particular file on one of my websites. Is it possible to password protect the entire directory? Or can I only password protect one file. How do I do this? Does it have to do with the .HTACCESS file on my unix server? Please Help! ~ :confused: ~ (2 Replies)
Discussion started by: iriemember
2 Replies

4. UNIX for Dummies Questions & Answers

password problem

I get a $ sign - do I put in a password? What do I do? I don't have a password only a user name and an activation ID - what's next? No one will answer me! (1 Reply)
Discussion started by: kaye
1 Replies

5. UNIX for Advanced & Expert Users

login & password

I bought a pentium 2 (office auction) for my country home. When I turned it on it had Unix. It asks me for a login and password. I don't have these and since I don't know Unix I want to reformat the drive or at least be able to install Windows. I can't get past the Login and password promt. Anyone... (8 Replies)
Discussion started by: cab
8 Replies

6. Shell Programming and Scripting

Encrypting a password for shell script

All, I want to encrypt a database system administration password into a file or environment variable. Then, I want to decrypt the password from the file or environment variable so nobody sees the clear text password. For example, I have the database password of developement. I need to... (1 Reply)
Discussion started by: bubba112557
1 Replies

7. Post Here to Contact Site Administrators and Moderators

I would like to reset my password

Hi Moderators, I forgot the login password and am accessing the forum page through save form password credentials. Could you please reset my password ? Thanks, :) (5 Replies)
Discussion started by: matrixmadhan
5 Replies

8. Programming

put the prog asked in your interview

Submit the program asked to write in the interview eg. write a prog to generate fibonacci series using recursion (2 Replies)
Discussion started by: useless79
2 Replies

9. Shell Programming and Scripting

Help me please on my problem

I basically just need to transfer one file from one server to another. So I first have to go to this server and with the user name and pass go to their directory and transfer it to another server with a diff user name and pass and paste it there. I have this. #!/bin/sh... (8 Replies)
Discussion started by: kdyzsa
8 Replies

10. Shell Programming and Scripting

reg accepting password

Hi, I want to login to many systems and password should be taken automatically from a file(login is working but password is not accepting). Any help on this is appreciable . My code. for i in `cat /tmp/tes ` ====>tes file contain list of hosts > do ssh $i > perl prog.pl >... (1 Reply)
Discussion started by: rogerben
1 Replies

11. Shell Programming and Scripting

supply password to scp with out interacting

Hi, I am trying to supply password to scp with out having manual interaction. Like, store the password in a variable and it should be supplied to the scp when it prompted for the password. Is there any other way than the user authentication and using "expect" in perl script. i.e is this... (3 Replies)
Discussion started by: pc_raghu
3 Replies

12. Solaris

Could not register prog

(2 Replies)
Discussion started by: upengan78
2 Replies

13. Post Here to Contact Site Administrators and Moderators

unable to login via tapatalk from droidx

i can login from the site no problem. but from tapatalk it always tells me if my password is wrong. i've tried on the site few times no problem. only problem via tapatalk. is this a problem for droidX... or am i missing something. help pls. thanks much. (2 Replies)
Discussion started by: unregistered110
2 Replies

14. UNIX for Dummies Questions & Answers

ssh without password not workking

i tried to automate ssh login without password but really it was not working... i don't know what is the problem :wall: i had given the steps i had tried it. 1) login in the hyper (source) with gopc id 2) ssh-keygen -t dsa 3) when you enter the default text then two files will be... (4 Replies)
Discussion started by: gopc
4 Replies

15. Shell Programming and Scripting

uniq not working, so any alternate?

Hi, I have these two files . file1 /home/prog/bug/perl /home/prog/bug/ant /home/prog/bug/make /home/prog/bug/gen /home/prog/bug/tiff file2 /home/prog/bug/make /home/prog/bug/gen i want a output file which should contain file1-file2 (2 Replies)
Discussion started by: debu182
2 Replies