Rev 2 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2 | Rev 17 | ||
---|---|---|---|
1 | .\" Hey, EMACS: -*- nroff -*- |
1 | .\" Hey, EMACS: -*- nroff -*- |
2 | .\" First parameter, NAME, should be all caps |
2 | .\" First parameter, NAME, should be all caps |
3 | .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection |
3 | .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection |
4 | .\" other parameters are allowed: see man(7), man(1) |
4 | .\" other parameters are allowed: see man(7), man(1) |
5 | .TH LSH-PAM-CHECKPW 8 "Jul 05 2002" lsh-pam-checkpw "lsh manuals" |
5 | .TH LSH-PAM-CHECKPW 8 "Jul 05 2002" lsh-pam-checkpw "lsh manuals" |
6 | .\" Please adjust this date whenever revising the manpage. |
6 | .\" Please adjust this date whenever revising the manpage. |
7 | .\" |
7 | .\" |
8 | .\" Some roff macros, for reference: |
8 | .\" Some roff macros, for reference: |
9 | .\" .nh disable hyphenation |
9 | .\" .nh disable hyphenation |
10 | .\" .hy enable hyphenation |
10 | .\" .hy enable hyphenation |
11 | .\" .ad l left justify |
11 | .\" .ad l left justify |
12 | .\" .ad b justify to both left and right margins |
12 | .\" .ad b justify to both left and right margins |
13 | .\" .nf disable filling |
13 | .\" .nf disable filling |
14 | .\" .fi enable filling |
14 | .\" .fi enable filling |
15 | .\" .br insert line break |
15 | .\" .br insert line break |
16 | .\" .sp <n> insert n+1 empty lines |
16 | .\" .sp <n> insert n+1 empty lines |
17 | .\" for manpage-specific macros, see man(7) |
17 | .\" for manpage-specific macros, see man(7) |
18 | .SH NAME |
18 | .SH NAME |
19 | lsh-pam-checkpw \- program to check a PAM username/password combination |
19 | lsh-pam-checkpw \- program to check a PAM username/password combination |
20 | .SH SYNOPSIS |
20 | .SH SYNOPSIS |
21 | .B lsh-pam-checkpw |
21 | .B lsh-pam-checkpw |
22 | .RI username-to-check |
22 | .RI username-to-check |
23 | .SH DESCRIPTION |
23 | .SH DESCRIPTION |
24 | This manual page documents briefly the |
24 | This manual page documents briefly the |
25 | .B lsh-pam-checkpw |
25 | .B lsh-pam-checkpw |
26 | command. |
26 | command. |
27 | This manual page was written for the Debian distribution |
27 | This manual page was written for the Debian distribution |
28 | because the original program does not have a manual page. |
28 | because the original program does not have a manual page. |
29 | Instead, it has documentation in the GNU Info format; see below. |
29 | Instead, it has documentation in the GNU Info format; see below. |
30 | .PP |
30 | .PP |
31 | .\" TeX users may be more comfortable with the \fB<whatever>\fP and |
31 | .\" TeX users may be more comfortable with the \fB<whatever>\fP and |
32 | .\" \fI<whatever>\fP escape sequences to invode bold face and italics, |
32 | .\" \fI<whatever>\fP escape sequences to invode bold face and italics, |
33 | .\" respectively. |
33 | .\" respectively. |
34 | \fBlsh-pam-checkpw\fP is a program that checks if a username and password |
34 | \fBlsh-pam-checkpw\fP is a program that checks if a username and password |
35 | combination is valid for login by doing a PAM lookup. It is designed to be |
35 | combination is valid for login by doing a PAM lookup. It is designed to be |
36 | used as a password helper program for \fBlshd (8)\fP, (eg. |
36 | used as a password helper program for \fBlshd (8)\fP, (eg. |
37 | \fB\-\-password\-helper=/usr/sbin/lsh-pam-checkpw\fP. |
37 | \fB\-\-password\-helper=/usr/sbin/lsh-pam-checkpw\fP. |
38 | .PP |
38 | .PP |
39 | .B lsh-pam-checkpw |
39 | .B lsh-pam-checkpw |
40 | takes one required argument, which is the username, and reads the password from |
40 | takes one required argument, which is the username, and reads the password from |
41 | stdin, then returns 0 if the password is valid, or 1 otherwise. Note that the |
41 | stdin, then returns 0 if the password is valid, or 1 otherwise. Note that the |
42 | password must be supplied exactly, ie. there must be no newline after the |
42 | password must be supplied exactly, ie. there must be no newline after the |
43 | password, so if invoking from a shell, just type "<your-password><CTRL-D>". |
43 | password, so if invoking from a shell, just type "<your-password><CTRL-D>". |
44 | .SH SEE ALSO |
44 | .SH SEE ALSO |
45 | .BR lshc (1), |
45 | .BR lsh (1), |
46 | .BR lshd (8). |
46 | .BR lshd (8). |
47 | .BR |
47 | .BR |
48 | The programs are documented fully by |
48 | The programs are documented fully by |
49 | .IR "Lsh" , |
49 | .IR "Lsh" , |
50 | available via the Info system. |
50 | available via the Info system. |
51 | .SH AUTHOR |
51 | .SH AUTHOR |
52 | This manual page was written by Timshel Knoll <timshel@debian.org>, |
52 | This manual page was written by Timshel Knoll <timshel@debian.org>, |
53 | for the Debian GNU/Linux system (but may be used by others). |
53 | for the Debian GNU/Linux system (but may be used by others). |