Your message dated Fri, 20 Jan 2017 19:48:55 +0100 with message-id <[email protected]> and subject line Re: Bug#779018: passwd: adding groups to a user with usermod: not possible has caused the Debian Bug report #779018, regarding passwd: adding groups to a user with usermod: not possible to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 779018: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779018 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: passwd Version: 1:4.1.5.1-1 Severity: important Tags: upstream Dear Maintainer, I have some problems with usermod. The options -a returns the help screen, while it should append to the groups the user is belongs to. All other options work fine. I don't know how long this problem exists, because I also use a different route to change group membership. Since this is the prefered way, it is important it is resolved. Usually I change groupmembership by manually changing /etc/group and /etc/gshadow and this works as expected. By the way I have tested the recommend approach on a fresh system with the same result, so this can not be the problem. I don't know where this problem is introduced, if it is upstream or in Debian's sources. I do know that it is architecture and locale independent, because besides the system I run reportbug on, I also have systems with x86 and armhf, and it does work on neither of them. Same for the locale. I have tried to install passwd from unstable (and uninstalled it now), but there was the same problem, although this is not entirely reliable because I did not upgrade the entire system. Also I have compiled it from (non Debian specific) source, which gave the same result. Sincerely, phamming -- System Information: Debian Release: 7.8 APT prefers stable APT policy: (990, 'stable') Architecture: amd64 (x86_64) Additional architectures: x86, armhf Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8), C Shell: /bin/sh linked to /bin/dash, /bin/bash Versions of packages passwd depends on: ii debianutils 4.3.2 ii libc6 2.13-38+deb7u7 ii libpam-modules 1.1.3-7.1 ii libpam0g 1.1.3-7.1 ii libselinux1 2.1.9-5 ii libsemanage1 2.1.6-6 passwd recommends no packages. passwd suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Control: notfound -1 1:4.1.5.1-1 On Mon, 23 Feb 2015 11:38:26 -0700 Bob Proulx <[email protected]> wrote: > tags 779018 + unreproducible moreinfo > thanks > > phamming wrote: > > I have some problems with usermod. The options -a returns the help > > screen, while it should append to the groups the user is belongs > > to. All other options work fine. > > Thank you for report. However I cannot reproduce the problem. It > works fine for me. > > # id testuser > uid=1002(testuser) gid=1002(testuser) groups=1002(testuser) > # usermod -a -G testgroup testuser > # id testuser > uid=1002(testuser) gid=1002(testuser) groups=1002(testuser)1011(testgroup) > > > Unfortunately you did not include a test case showing exactly what you > did. Please when submitting a bug report always include enough > information to reproduce the problem. This includes the exact command > line you used. I suspect that you are missing this part from the manual. > > -a, --append > Add the user to the supplementary group(s). Use only with the -G > option. > > Are you using -a with -G? If not then that will produce an option > error which will emit the online option help output. > > > I don't know how long this problem exists, because I also use a > > different route to change group membership. Since this is the > > prefered way, it is important it is resolved. > > I personally recommend using "useradd" to add users to groups. The > syntax is: > > # adduser username groupname > > > I don't know where this problem is introduced, if it is upstream or > > in Debian's sources. > > Since I could not reproduce the problem I marked this as > unreproducable and moreinfo needed. If you have a test case that > reproduces the problem please tell us exactly what command line you > used. > > Thank you for helping to make Debian better. Closing the bug since we have not received the details in almost two years. Cheers, Balint
--- End Message ---

