[Adduser-devel] Bug#286227: Documentation wrongly suggests home dirs created sgid

Shaul Karl Shaul Karl <shaulk@013.net>, 286227@bugs.debian.org
Sat, 18 Dec 2004 17:39:18 +0200


Package: adduser
Version: 3.59
Severity: normal
Tags: patch


--- /usr/share/man/man5/adduser.conf.5	2004-12-18 17:09:59.000000000 +0200
+++ /usr/share/man/man5/adduser.conf.5	2004-12-18 17:07:22.000000000 +0200
@@ -72,8 +72,8 @@
 \fBUSERGROUPS\fP
 If this is set to
 .IR yes ,
-then each created user will be given their own group to use and their
-home directories will be g+s.  If this is
+then each created user will be given their own group to use.  If this
+is
 .IR no ,
 then each created user will be placed in the group whose GID is
 \fBUSERS_GID\fP (see below).  The default is
@@ -86,10 +86,6 @@
 default value is
 .IR 100 .
 .TP
-\fBQUOTAUSER\fP
-If set to a nonempty value, new users will have quotas copied from
-that user.  The default is empty.
-.TP
 \fBDIR_MODE\fP
 If set to a valid value (e.g. 0755 or 755), directories created will have
 the specified permissions. Otherwise 0755 is used as default.
@@ -103,6 +99,10 @@
 versions << 3.13. Unfortunately it has some bad side effects, so we no
 longer do this per default. If you want it nevertheless you can still
 activate it here.
+.TP
+\fBQUOTAUSER\fP
+If set to a nonempty value, new users will have quotas copied from
+that user.  The default is empty.
 .SH FILES
 .I /etc/adduser.conf
 .SH SEE ALSO


--- /etc/adduser.conf	2004-12-18 16:59:29.000000000 +0200
+++ /etc/adduser.conf	2004-12-18 16:58:31.000000000 +0200
@@ -39,19 +39,15 @@
 LAST_GID=29999
 
 # The USERGROUPS variable can be either "yes" or "no".  If "yes" each
-# created user will be given their own group to use as a default, and
-# their home directories will be g+s.  If "no", each created user will
-# be placed in the group whose gid is USERS_GID (see below).
+# created user will be given their own group to use as a default.  If
+# "no", each created user will be placed in the group whose gid is
+# USERS_GID (see below).
 USERGROUPS=yes
 
 # If USERGROUPS is "no", then USERS_GID should be the GID of the group
 # `users' (or the equivalent group) on your system.
 USERS_GID=100
 
-# If QUOTAUSER is set, a default quota will be set from that user with
-# `edquota -p QUOTAUSER newuser'
-QUOTAUSER=""
-
 # If DIR_MODE is set, directories will be created with the specified
 # mode. Otherwise the default mode 0755 will be used.
 DIR_MODE=0755
@@ -62,3 +58,8 @@
 # no longer do this per default. If you want it nevertheless you can
 # still set it here.
 SETGID_HOME=no
+
+# If QUOTAUSER is set, a default quota will be set from that user with
+# `edquota -p QUOTAUSER newuser'
+QUOTAUSER=""
+

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i586)
Kernel: Linux 2.6.8-7.pentium1.1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages adduser depends on:
ii  debconf                     1.4.30.10    Debian configuration management sy
ii  passwd                      1:4.0.3-30.4 Change and administer password and
ii  perl-base                   5.8.4-3      The Pathologically Eclectic Rubbis

-- debconf information:
* adduser/homedir-permission: true