From 15989f16f7c938e5bb815ff06be430050724a77c Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Sun, 9 Dec 2007 14:50:14 +0000 Subject: [PATCH] * man/pwconv.8.xml: Fix typos. * man/chpasswd.8.xml, man/chgpasswd.8.xml: Document the NONE crypt method. * man/login.defs.d/MAIL_DIR.xml: Add comment regarding useradd not using MAIL_FILE. * man/login.defs.d/ERASECHAR.xml, man/login.defs.d/KILLCHAR.xml, man/login.defs.d/CONSOLE_GROUPS.xml, man/login.defs.d/ENV_HZ.xml, man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml: These variables are also used by some tools when compiled with PAM support. * man/login.defs.d/ENV_HZ.xml: Add note that it is only used by sulogin when compiled with PAM support. * man/login.defs.d/ENV_SUPATH.xml: Typos: ENV_PATH -> ENV_SUPATH, and mention sbin in the path. * man/login.defs.d/LOGIN_STRING.xml: Fix typo: confition -> condition. * man/sg.1.xml: Add CONFIGURATION section (SYSLOG_SG_ENAB). * man/su.1.xml: ENV_HZ, LOGIN_STRING, MAIL_DIR, USERGROUPS_ENAB are only used when su is compiled without PAM support. * man/login.defs.5.xml: Added variables: OBSCURE_CHECKS_ENAB PASS_ALWAYS_WARN PASS_CHANGE_TRIES SULOG_FILE SU_NAME SU_WHEEL_ONLY SYSLOG_SG_ENAB SYSLOG_SU_ENAB. * man/login.defs.5.xml: ENVIRON_FILE is only used when compiled without PAM support. * man/login.defs.5.xml: sulogin uses variables even when compiled with PAM support. * man/login.1.xml: ENV_HZ ENV_PATH ENV_SUPATH MAIL_DIR UMASK are only used when login is not compiled with PAM support. --- ChangeLog | 31 +++++++++++++++++++++++++++++ man/chgpasswd.8.xml | 4 ++-- man/chpasswd.8.xml | 4 ++-- man/login.1.xml | 10 +++++----- man/login.defs.5.xml | 18 ++++++++++++----- man/login.defs.d/CONSOLE_GROUPS.xml | 2 +- man/login.defs.d/ENV_HZ.xml | 7 ++++++- man/login.defs.d/ENV_PATH.xml | 2 +- man/login.defs.d/ENV_SUPATH.xml | 8 ++++---- man/login.defs.d/ERASECHAR.xml | 2 +- man/login.defs.d/KILLCHAR.xml | 2 +- man/login.defs.d/LOGIN_STRING.xml | 2 +- man/login.defs.d/MAIL_DIR.xml | 1 + man/pwconv.8.xml | 4 ++-- man/sg.1.xml | 16 +++++++++++++++ man/su.1.xml | 8 ++++---- 16 files changed, 91 insertions(+), 30 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4453605d..b8c80a36 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,34 @@ +2007-12-09 Nicolas François + + * man/pwconv.8.xml: Fix typos. + * man/chpasswd.8.xml, man/chgpasswd.8.xml: Document the NONE crypt + method. + * man/login.defs.d/MAIL_DIR.xml: Add comment regarding useradd not + using MAIL_FILE. + * man/login.defs.d/ERASECHAR.xml, man/login.defs.d/KILLCHAR.xml, + man/login.defs.d/CONSOLE_GROUPS.xml, man/login.defs.d/ENV_HZ.xml, + man/login.defs.d/ENV_PATH.xml, man/login.defs.d/ENV_SUPATH.xml: + These variables are also used by some tools when compiled with PAM + support. + * man/login.defs.d/ENV_HZ.xml: Add note that it is only used by + sulogin when compiled with PAM support. + * man/login.defs.d/ENV_SUPATH.xml: Typos: ENV_PATH -> ENV_SUPATH, + and mention sbin in the path. + * man/login.defs.d/LOGIN_STRING.xml: Fix typo: confition -> + condition. + * man/sg.1.xml: Add CONFIGURATION section (SYSLOG_SG_ENAB). + * man/su.1.xml: ENV_HZ, LOGIN_STRING, MAIL_DIR, USERGROUPS_ENAB + are only used when su is compiled without PAM support. + * man/login.defs.5.xml: Added variables: OBSCURE_CHECKS_ENAB + PASS_ALWAYS_WARN PASS_CHANGE_TRIES SULOG_FILE SU_NAME + SU_WHEEL_ONLY SYSLOG_SG_ENAB SYSLOG_SU_ENAB. + * man/login.defs.5.xml: ENVIRON_FILE is only used when compiled + without PAM support. + * man/login.defs.5.xml: sulogin uses variables even when compiled + with PAM support. + * man/login.1.xml: ENV_HZ ENV_PATH ENV_SUPATH MAIL_DIR UMASK are + only used when login is not compiled with PAM support. + 2007-12-09 Nicolas François * src/login.c: Make sure is_console is only defined when USE_PAM diff --git a/man/chgpasswd.8.xml b/man/chgpasswd.8.xml index 8017705d..f6887555 100644 --- a/man/chgpasswd.8.xml +++ b/man/chgpasswd.8.xml @@ -67,8 +67,8 @@ Use the specified method to encrypt the passwords. - The available methods are DES, MD5, and SHA256 or SHA512 - if compiled with the ENCRYPTMETHOD_SELECT flag. + The available methods are DES, MD5, NONE, and SHA256 or SHA512 + if your libc support these methods. diff --git a/man/chpasswd.8.xml b/man/chpasswd.8.xml index 49311077..bd9843c3 100644 --- a/man/chpasswd.8.xml +++ b/man/chpasswd.8.xml @@ -67,8 +67,8 @@ Use the specified method to encrypt the passwords. - The available methods are DES, MD5, and SHA256 or SHA512 - if compiled with the ENCRYPTMETHOD_SELECT flag. + The available methods are DES, MD5, NONE, and SHA256 or SHA512 + if your libc support these methods. diff --git a/man/login.1.xml b/man/login.1.xml index 793b1367..8d4e6283 100644 --- a/man/login.1.xml +++ b/man/login.1.xml @@ -241,9 +241,9 @@ &CONSOLE; &CONSOLE_GROUPS; &DEFAULT_HOME; - &ENV_HZ; - &ENV_PATH; - &ENV_SUPATH; + &ENV_HZ; + &ENV_PATH; + &ENV_SUPATH; &ENV_TZ; &ENVIRON_FILE; &ERASECHAR; @@ -261,7 +261,7 @@ &LOG_OK_LOGINS; &LOG_UNKFAIL_ENAB; &MAIL_CHECK_ENAB; - &MAIL_DIR; + &MAIL_DIR; &MOTD_FILE; &NOLOGINS_FILE; &PORTTIME_CHECKS_ENAB; @@ -269,7 +269,7 @@ &TTYGROUP; &TTYTYPE_FILE; &ULIMIT; - &UMASK; + &UMASK; &USERGROUPS_ENAB; diff --git a/man/login.defs.5.xml b/man/login.defs.5.xml index c1f59fbd..4c5c2748 100644 --- a/man/login.defs.5.xml +++ b/man/login.defs.5.xml @@ -34,6 +34,9 @@ + + + @@ -41,6 +44,11 @@ + + + + + @@ -269,8 +277,8 @@ CONSOLE CONSOLE_GROUPS DEFAULT_HOME ENV_HZ ENV_PATH ENV_SUPATH - ENV_TZ - ENVIRON_FILE ERASECHAR FAIL_DELAY + ENV_TZ ENVIRON_FILE + ERASECHAR FAIL_DELAY FAILLOG_ENAB FAKE_SHELL FTMP_FILE @@ -341,8 +349,8 @@ CONSOLE CONSOLE_GROUPS DEFAULT_HOME - ENV_HZ - ENVIRON_FILE ENV_PATH ENV_SUPATH + ENV_HZ ENVIRON_FILE + ENV_PATH ENV_SUPATH ENV_TZ LOGIN_STRING MAIL_CHECK_ENAB MAIL_DIR MAIL_FILE QUOTAS_ENAB SULOG_FILE SU_NAME @@ -352,7 +360,7 @@ - + sulogin diff --git a/man/login.defs.d/CONSOLE_GROUPS.xml b/man/login.defs.d/CONSOLE_GROUPS.xml index 25b8f269..53c2c564 100644 --- a/man/login.defs.d/CONSOLE_GROUPS.xml +++ b/man/login.defs.d/CONSOLE_GROUPS.xml @@ -1,4 +1,4 @@ - + (string) diff --git a/man/login.defs.d/ENV_HZ.xml b/man/login.defs.d/ENV_HZ.xml index ffe323f5..d794dafb 100644 --- a/man/login.defs.d/ENV_HZ.xml +++ b/man/login.defs.d/ENV_HZ.xml @@ -1,4 +1,5 @@ - + + (string) @@ -7,6 +8,10 @@ HZ=. A common value on Linux is HZ=100. + + The HZ environment variable is only set when the user + (the superuser) logs in with sulogin. + diff --git a/man/login.defs.d/ENV_PATH.xml b/man/login.defs.d/ENV_PATH.xml index 52268679..cd5ad3ce 100644 --- a/man/login.defs.d/ENV_PATH.xml +++ b/man/login.defs.d/ENV_PATH.xml @@ -1,4 +1,4 @@ - + (string) diff --git a/man/login.defs.d/ENV_SUPATH.xml b/man/login.defs.d/ENV_SUPATH.xml index 88db4f59..dbaf36cc 100644 --- a/man/login.defs.d/ENV_SUPATH.xml +++ b/man/login.defs.d/ENV_SUPATH.xml @@ -1,12 +1,12 @@ - - (string) + + (string) If set, it will be used to define the PATH environment variable when the superuser login. The value can be preceded by PATH=, or a colon separated list of paths - (for example /bin:/usr/bin). The default - value is PATH=/bin:/usr/bin. + (for example /sbin:/bin:/usr/sbin:/usr/bin). + The default value is PATH=/bin:/usr/bin. diff --git a/man/login.defs.d/ERASECHAR.xml b/man/login.defs.d/ERASECHAR.xml index b2f9e255..cf48dc05 100644 --- a/man/login.defs.d/ERASECHAR.xml +++ b/man/login.defs.d/ERASECHAR.xml @@ -1,4 +1,4 @@ - + (number) diff --git a/man/login.defs.d/KILLCHAR.xml b/man/login.defs.d/KILLCHAR.xml index f5c4969a..7b4d681a 100644 --- a/man/login.defs.d/KILLCHAR.xml +++ b/man/login.defs.d/KILLCHAR.xml @@ -1,4 +1,4 @@ - + (number) diff --git a/man/login.defs.d/LOGIN_STRING.xml b/man/login.defs.d/LOGIN_STRING.xml index 31c13997..8e76f021 100644 --- a/man/login.defs.d/LOGIN_STRING.xml +++ b/man/login.defs.d/LOGIN_STRING.xml @@ -1,4 +1,4 @@ - + (string) diff --git a/man/login.defs.d/MAIL_DIR.xml b/man/login.defs.d/MAIL_DIR.xml index 20417b8e..86ec4ef8 100644 --- a/man/login.defs.d/MAIL_DIR.xml +++ b/man/login.defs.d/MAIL_DIR.xml @@ -16,6 +16,7 @@ + The and variables are used by useradd, usermod, and diff --git a/man/pwconv.8.xml b/man/pwconv.8.xml index 426aaa66..60360e50 100644 --- a/man/pwconv.8.xml +++ b/man/pwconv.8.xml @@ -116,14 +116,14 @@ CONFIGURATION The following configuration variable in - /etc/login.defs change the behavior of + /etc/login.defs changes the behavior of grpconv and grpunconv: &MAX_MEMBERS_PER_GROUP; - The following configuration variable in + The following configuration variables in /etc/login.defs change the behavior of pwconv: diff --git a/man/sg.1.xml b/man/sg.1.xml index 86740f0d..4660fd55 100644 --- a/man/sg.1.xml +++ b/man/sg.1.xml @@ -1,4 +1,8 @@ + +]> @@ -39,6 +43,18 @@ + + CONFIGURATION + + The following configuration variables in + /etc/login.defs change the behavior of this + tool: + + + &SYSLOG_SG_ENAB; + + + FILES diff --git a/man/su.1.xml b/man/su.1.xml index 23d61eea..64033270 100644 --- a/man/su.1.xml +++ b/man/su.1.xml @@ -203,20 +203,20 @@ &CONSOLE; &CONSOLE_GROUPS; &DEFAULT_HOME; - &ENV_HZ; + &ENV_HZ; &ENVIRON_FILE; &ENV_PATH; &ENV_SUPATH; &ENV_TZ; - &LOGIN_STRING; + &LOGIN_STRING; &MAIL_CHECK_ENAB; - &MAIL_DIR; + &MAIL_DIR; "AS_ENAB; &SULOG_FILE; &SU_NAME; &SU_WHEEL_ONLY; &SYSLOG_SU_ENAB; - &USERGROUPS_ENAB; + &USERGROUPS_ENAB;