From 280fcebae88fc709bce2cd2113dc0c6d9740f5f5 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Sun, 17 Feb 2008 15:29:41 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ NEWS | 2 ++ etc/useradd | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 227b393b..9424dc80 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 33eba3f0..ff3056aa 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 7d6f65e6..b77dd856 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