Jonathan Amery
2008-Jan-15  14:44 UTC
Bug#460895: adduser: --group --gid documented, but not permitted by software
Package: adduser
Version: 3.102
Severity: normal
Hi,
 The adduser manpage says:
   Add a user group
       If adduser is called with the --group option and without  the  --system
       option, or addgroup is called respectively, a user group will be added.
       A GID will be chosen from the range specified for user UIDS in the con-
       figuration file.  The GID can be overridden with the --gid option.
       The group is created with no users.
 but if you actually try this then you get:
jadzia:~# adduser --group --gid 1234 fred
adduser: The --group, --ingroup, and --gid options are mutually exclusive.
jadzia:~# 
 Please fix the code to match the documentation, which is the correct 
behaviour.
-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (700, ''stable''), (650,
''testing''), (625, ''unstable''), (600,
''dapper''), (500, ''dapper-updates'')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages adduser depends on:
ii  debconf [debconf-2.0]       1.5.11etch1  Debian configuration management sy
ii  passwd                      1:4.0.18.1-7 change and administer password and
ii  perl-base                   5.8.8-7etch1 The Pathologically Eclectic Rubbis
adduser recommends no packages.
-- debconf information:
  adduser/homedir-permission: true
Stephen Gran
2008-Jan-15  14:57 UTC
[Adduser-devel] Bug#460895: Bug#460895: adduser: --group --gid documented, but not permitted by software
close 460895 3.103 thanks This one time, at band camp, Jonathan Amery said:> > Please fix the code to match the documentation, which is the correct > behaviour.The --group option is deprecated and basically gone. Use addgroup instead. The documentation was adjusted in 3.103. Thanks -- ----------------------------------------------------------------- | ,''''`. Stephen Gran | | : :'' : sgran at debian.org | | `. `'' Debian user, admin, and developer | | `- http://www.debian.org | ----------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20080115/6677eb01/attachment.pgp
Debian Bug Tracking System
2008-Jan-15  15:00 UTC
[Adduser-devel] Processed: Re: Bug#460895: adduser: --group --gid documented, but not permitted by software
Processing commands for control at bugs.debian.org:> close 460895 3.103Bug#460895: adduser: --group --gid documented, but not permitted by software ''close'' is deprecated; see http://www.debian.org/Bugs/Developer#closing. Bug marked as fixed in version 3.103, send any further explanations to Jonathan Amery <jdamery at ysolde.ucam.org>> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)