[Adduser-devel] Bug#499105: after adduser <foo> <group>, the user root has no groups

root florian at reitmeir.org
Tue Sep 16 07:52:36 UTC 2008

Package: adduser
Version: 3.102
Severity: grave
Justification: causes non-serious data loss

i use SSH on my hosts with the feature to limit login to a special group.
So to login as root to a host, root has to be member of a group e.g. sshers

adduser has the "feature" to lose all groups of root, after adding some other user 
to a random group.

this is really grave.
	- it makes backup scripts not working anymore
	- it may deny access to the machine

if this _is_ a feature, a warning of "dropping" groups would be nice.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.26-bpo.1-vserver-amd64
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages adduser depends on:
ii  debconf [debconf-2.0]       1.5.11etch2  Debian configuration management sy
ii  passwd                      1: change and administer password and
ii  perl-base                   5.8.8-7etch3 The Pathologically Eclectic Rubbis

adduser recommends no packages.

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

More information about the Adduser-devel mailing list