[Adduser-devel] Bug#664869: /usr/sbin/addgroup: syntax `adduser user group' not mentioned

Mike Dornberger Mike.Dornberger at gmx.de
Wed Mar 21 14:12:55 UTC 2012

Package: adduser
Version: 3.110
Version: 3.112+nmu2
Severity: minor
File: /usr/sbin/addgroup


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

 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

More information about the Adduser-devel mailing list