From: nekral-guest Date: Sun, 17 Feb 2008 15:29:41 +0000 (+0000) Subject: Change the default HOME directory in /etc/default/useradd according FHS X-Git-Tag: 4.1.1~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=280fcebae88fc709bce2cd2113dc0c6d9740f5f5;p=thirdparty%2Fshadow.git 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. --- diff --git a/ChangeLog b/ChangeLog index 227b393ba..9424dc803 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-02-14 Nicolas François + + * 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 * NEWS, src/newgrp.c: Use the correct AUDIT_CHGRP_ID event instead of diff --git a/NEWS b/NEWS index 33eba3f00..ff3056aa7 100644 --- a/NEWS +++ b/NEWS @@ -12,6 +12,8 @@ shadow-4.1.0 -> shadow-4.1.1 UNRELEASED - general * Do not translate the messages sent to syslog. This avoids logging PAM error messages in the users's locale. +- etc/useradd + * /etc/default/useradd now defines HOME as /home to match FHS. - chage * Fix bug which forbid to set the aging information of an account with a passwd entry, but no shadow entry. diff --git a/etc/useradd b/etc/useradd index 7d6f65e62..b77dd8560 100644 --- a/etc/useradd +++ b/etc/useradd @@ -1,6 +1,6 @@ # useradd defaults file GROUP=1000 -HOME=/home/users +HOME=/home INACTIVE=-1 EXPIRE= SHELL=/bin/bash