Change the default HOME directory in /etc/default/useradd according FHS

(/home instead of /home/users).  This fixes Alioth's bug #310559.
Thanks to Dale E. Edmons.
This commit is contained in:
nekral-guest 2008-02-17 15:29:41 +00:00
parent 80ef1db3b3
commit 280fcebae8
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2008-02-14 Nicolas François <nicolas.francois@centraliens.net>
* NEWS, etc/useradd: Change the default HOME directory in
/etc/default/useradd according FHS (/home instead of /home/users).
This fixes Alioth's bug #310559. Thanks to Dale E. Edmons.
2008-02-14 Nicolas François <nicolas.francois@centraliens.net> 2008-02-14 Nicolas François <nicolas.francois@centraliens.net>
* NEWS, src/newgrp.c: Use the correct AUDIT_CHGRP_ID event instead of * NEWS, src/newgrp.c: Use the correct AUDIT_CHGRP_ID event instead of

2
NEWS
View File

@ -12,6 +12,8 @@ shadow-4.1.0 -> shadow-4.1.1 UNRELEASED
- general - general
* Do not translate the messages sent to syslog. This avoids logging * Do not translate the messages sent to syslog. This avoids logging
PAM error messages in the users's locale. PAM error messages in the users's locale.
- etc/useradd
* /etc/default/useradd now defines HOME as /home to match FHS.
- chage - chage
* Fix bug which forbid to set the aging information of an account with a * Fix bug which forbid to set the aging information of an account with a
passwd entry, but no shadow entry. passwd entry, but no shadow entry.

View File

@ -1,6 +1,6 @@
# useradd defaults file # useradd defaults file
GROUP=1000 GROUP=1000
HOME=/home/users HOME=/home
INACTIVE=-1 INACTIVE=-1
EXPIRE= EXPIRE=
SHELL=/bin/bash SHELL=/bin/bash