Mike Dornberger
2012-Mar-21 14:12 UTC
Bug#664869: /usr/sbin/addgroup: syntax `adduser user group'' not mentioned
Package: adduser Version: 3.110 Version: 3.112+nmu2 Severity: minor File: /usr/sbin/addgroup Hi, neither the man page of addgroup nor the output of `addgroup -h'' mentions the valid syntax `addgroup user group'' to add the user to the specified group, but in fact this works: | # addgroup x dune | Adding user `x'' to group `dune'' ... | Adding user x to group dune | Done. | # getent group | grep dune | dune:x:1005:x Greetings, Mike Dornberger -- System Information: Debian Release: 5.0.9 APT prefers oldstable APT policy: (500, ''oldstable'') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages adduser depends on: ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy ii passwd 1:4.1.1-6+lenny1 change and administer password and ii perl-base 5.10.0-19lenny5 minimal Perl system adduser recommends no packages. Versions of packages adduser suggests: ii liblocale-gettext-perl 1.05-4 Using libc functions for internati ii perl-modules 5.10.0-19lenny5 Core Perl modules -- debconf information excluded
Stephen Gran
2012-Mar-21 18:14 UTC
[Adduser-devel] Bug#664869: /usr/sbin/addgroup: syntax `adduser user group'' not mentioned
Hi, This one time, at band camp, Mike Dornberger said:> Hi, > > neither the man page of addgroup nor the output of `addgroup -h'' > mentions the valid syntax `addgroup user group'' to add the user to the > specified group, but in fact this works:Ah, it shouldn''t. Thanks for letting us know :) Cheers, -- ----------------------------------------------------------------- | ,''''`. Stephen Gran | | : :'' : sgran at debian.org | | `. `'' Debian user, admin, and developer | | `- http://www.debian.org | ----------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20120321/ff841c00/attachment.pgp>