From 76a61ebb3b1a2500b6eb457d6725cc8f4568d2d8 Mon Sep 17 00:00:00 2001 From: "Andrew G. Morgan" Date: Thu, 27 Jun 2002 05:43:28 +0000 Subject: Relevant BUGIDs: 419307 Purpose of commit: new feature/cleanup Commit summary: --------------- made pam_nologin more secure by changing the default behavior and adding some more features. General code clean up in the process. --- doc/modules/pam_nologin.sgml | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) (limited to 'doc/modules') diff --git a/doc/modules/pam_nologin.sgml b/doc/modules/pam_nologin.sgml index b1aa664b..52cf02a5 100644 --- a/doc/modules/pam_nologin.sgml +++ b/doc/modules/pam_nologin.sgml @@ -16,21 +16,17 @@ Author: Written by Michael K. Johnson <johnsonm@redhat.com> -(based on code taken from a module written by Andrew G. Morgan -<morgan@kernel.org>). Maintainer: -Michael K. Johnson <johnsonm@redhat.com> Management groups provided: -authentication +account; authentication Cryptographically sensitive: Security rating: Clean code base: -1 warning about dropping const System dependencies: @@ -49,24 +45,34 @@ Provides standard Unix Recognized arguments: +successok, file=<Description: Provides standard Unix /etc/nologin exists, only root is allowed to log in; other -users are turned away with an error message. All users (root or +users are turned away with an error message (and the module returns +/etc/nologin.

-If the file /etc/nologin does not exist, this module succeeds -silently. +If the file /etc/nologin does not exist, this module defaults +to returning +The administrator can override the default nologin file with the +Examples/suggested usage: -In order to make this module effective, all login methods should -be secured by it. It should be used as a required -method listed before any sufficient methods in order to -get standard Unix nologin semantics. +In order to make this module effective, all login methods should be +secured by it. It should be used as a required method listed +before any sufficient methods in order to get standard Unix +nologin semantics. Note, the use of -- cgit v1.2.3