src/auth-shadow.c: remove comment regarding check of sp_expire etc.
[vlock.git] / man / vlock-current.8
blob1ce446441877f68c42aa2bcecac94a9d52814146
1 .TH VLOCK-CURRENT 8 "28 July 2007" "Linux" "Linux Programmer's Manual"
2 .SH NAME
3 vlock-current \- lock current virtual console
4 .SH SYNOPSIS
5 .B vlock-current
6 .SH DESCRIPTION
7 \fBvlock-current\fR is part of vlock(1), the Virtual Console locking program
8 for Linux.  Once started it only exits if correct authentification data (either
9 the current user's or root's) is received.  Authentification can be done
10 against PAM or shadow, determined at compile time.
11 .SH "ENVIRONMENT VARIABLES"
12 .B USER
13 .IP
14 When \fBvlock-current\fR is run as root (uid 0) and this environment variable is
15 set \fBvlock-current\fR works the same as if it was run by that user.
16 .PP
17 .B VLOCK_MESSAGE
18 .IP
19 When this environment variable is set \fBvlock-current\fR prints its contents
20 before each password prompt.
21 .SH "EXIT CODES"
22 \fBvlock-current\fR exits 111 when the username can not be determined.
23 .SH SIGNALS
24 SIGINT, SIGQUIT, and SIGTSTP are ignored ignored.  In case \fBvlock-current\fR
25 is killed by any other signal the terminal is not restored.
26 .SH "SEE ALSO"
27 .BR vlock (1)
28 .SH AUTHORS
29 Frank Benkstein <frank-vlock@benkstein.net>