* Merge from Debian unstable, remaining changes: - debian/libpam-modules.postinst: Add PATH to /etc/environment if it's not present there or in /etc/security/pam_env.conf. (should send to Debian). - debian/libpam0g.postinst: only ask questions during update-manager when there are non-default services running. - debian/patches-applied/series: Ubuntu patches are as below ... - debian/patches-applied/ubuntu-rlimit_nice_correction: Explicitly initialise RLIMIT_NICE rather than relying on the kernel limits. - Change Vcs-Bzr to point at the Ubuntu branch. - debian/patches-applied/pam_motd-legal-notice: display the contents of /etc/legal once, then set a flag in the user's homedir to prevent showing it again. - debian/update-motd.5, debian/libpam-modules.manpages: add a manpage for update-motd, with some best practices and notes of explanation. - debian/patches/update-motd-manpage-ref: add a reference in pam_motd(8) to update-motd(5)
pam_nologin is a PAM module that prevents users from logging into the system when
179
\FC/etc/nologin\F[]
180
exists\&. The contents of the
181
\FC/etc/nologin\F[]
182
file are displayed to the user\&. The pam_nologin module has no effect on the root user\'s ability to log in\&.
179
\FC/var/run/nologin\F[]
180
or
181
\FC/etc/nologin\F[]exists\&. The contents of the file are displayed to the user\&. The pam_nologin module has no effect on the root user\'s ability to log in\&.
183
182
.SH "OPTIONS"
184
183
.PP
185
184
\fBfile=\fR\fB\fI/path/nologin\fR\fR
186
185
.RS 4
187
186
Use this file instead the default
187
\FC/var/run/nologin\F[]
188
or
188
189
\FC/etc/nologin\F[]\&.
189
190
.RE
190
191
.PP
220
221
.PP
221
222
PAM_SUCCESS
222
223
.RS 4
223
Success: either the user is root or the
224
\FC/etc/nologin\F[]
225
file does not exist\&.
224
Success: either the user is root or the nologin file does not exist\&.