Marcin Owsiany
2007-Jun-09 10:48 UTC
Bug#428144: "adduser user group" also removes root from group
Package: adduser Version: 3.102 porridge@taurus:~$ sudo getent group atest porridge@taurus:~$ sudo addgroup atest Adding group `atest'' (GID 1002) ... Done. porridge@taurus:~$ sudo adduser root atest Adding user `root'' to group `atest'' ... Done. porridge@taurus:~$ sudo getent group atest atest:x:1002:root porridge@taurus:~$ sudo adduser porridge atest Adding user `porridge'' to group `atest'' ... Done. porridge@taurus:~$ sudo getent group atest atest:x:1002:porridge # root is gone! porridge@taurus:~$ sudo adduser bin atest Adding user `bin'' to group `atest'' ... Done. porridge@taurus:~$ sudo getent group atest atest:x:1002:porridge,bin porridge@taurus:~$ sudo adduser root atest Adding user `root'' to group `atest'' ... Done. porridge@taurus:~$ sudo getent group atest atest:x:1002:porridge,bin,root porridge@taurus:~$ sudo adduser www-data atest Adding user `www-data'' to group `atest'' ... Done. porridge@taurus:~$ sudo getent group atest atest:x:1002:porridge,bin,www-data porridge@taurus:~$ # root is gone again! This behaviour causes nasty breakage when using group membership for limiting access to services like SSH. -- Marcin Owsiany <porridge@debian.org> http://marcin.owsiany.pl/ GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216
Joerg Hoh
2007-Jun-17 09:21 UTC
[Adduser-devel] Bug#428144: Bug#428144: "adduser user group" also removes root from group
package adduser tags #428144 confirmed thanks Bugfix has been committed to subversion. Thanks. J?rg Hoh -- What did you do to the cat? It looks half-dead. -Schroedinger''s wife -------------- 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/20070617/7e7c14cc/attachment.pgp
Debian Bug Tracking System
2007-Jun-18 23:09 UTC
[Adduser-devel] Bug#428144: marked as done ("adduser user group" also removes root from group)
Your message dated Mon, 18 Jun 2007 23:02:02 +0000 with message-id <E1I0QEU-0008Mw-Qe at ries.debian.org> and subject line Bug#428144: fixed in adduser 3.103 has caused the attached Bug report 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 I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------- next part -------------- An embedded message was scrubbed... From: Marcin Owsiany <porridge at debian.org> Subject: "adduser user group" also removes root from group Date: Sat, 9 Jun 2007 11:48:03 +0100 Size: 2704 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20070618/06f72b60/attachment-0002.eml -------------- next part -------------- An embedded message was scrubbed... From: Joerg Hoh <joerg at joerghoh.de> Subject: Bug#428144: fixed in adduser 3.103 Date: Mon, 18 Jun 2007 23:02:02 +0000 Size: 3586 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20070618/06f72b60/attachment-0003.eml