[Pkg-shadow-devel] Small patch for /etc/login.defs.{linux,hurd}

Nicolas François nicolas.francois@centraliens.net
Tue, 24 May 2005 13:43:57 +0200


--SUOF0GtieIMvvwua
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello Tomasz,

This patch set the mail directory to /var/mail instead of /var/spool/mail.
(This is FHS and LSB complient).
You already have a similar patch for etc/login.defs


Note: for the login.defs files, Debian also set CHFN_RESTRICT to "frwh"
instead of "rwh" (it allows users to change there real name); this is
IMHO Debian specific.

Kind regards,
-- 
Nekral

--SUOF0GtieIMvvwua
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="login.defs_MAIL_DIR.patch"

Index: etc/login.defs.hurd
===================================================================
RCS file: /cvsroot/shadow/etc/login.defs.hurd,v
retrieving revision 1.2
diff -u -r1.2 login.defs.hurd
--- etc/login.defs.hurd	26 Aug 2000 18:27:10 -0000	1.2
+++ etc/login.defs.hurd	24 May 2005 11:19:38 -0000
@@ -24,7 +24,7 @@
 #   QMAIL_DIR is for Qmail
 #
 #QMAIL_DIR	Maildir
-MAIL_DIR	/var/spool/mail
+MAIL_DIR	/var/mail
 #MAIL_FILE	.mail
 
 #
Index: etc/login.defs.linux
===================================================================
RCS file: /cvsroot/shadow/etc/login.defs.linux,v
retrieving revision 1.15
diff -u -r1.15 login.defs.linux
--- etc/login.defs.linux	7 Mar 2005 10:09:06 -0000	1.15
+++ etc/login.defs.linux	24 May 2005 11:19:38 -0000
@@ -126,7 +126,7 @@
 #   QMAIL_DIR is for Qmail
 #
 #QMAIL_DIR	Maildir
-MAIL_DIR	/var/spool/mail
+MAIL_DIR	/var/mail
 #MAIL_FILE	.mail
 
 #

--SUOF0GtieIMvvwua--