[Adduser-devel] Bug#295416: adduser: deluser will silently delete a group of the same name
Marc Haber
Marc Haber <mh+debian-packages@zugschlus.de>, 295416@bugs.debian.org
Wed, 16 Feb 2005 21:25:18 +0100
reassign #295416 passwd
retitle #295416 userdel will silently delete a group of the same name
thanks
On Tue, Feb 15, 2005 at 06:05:47PM +0000, Paul Evans wrote:
> Example:
> # addgroup monkey
> # adduser --ingroup monkey monkey
> # deluser monkey
>
> This example will silently delete the "monkey" group, providing no
> output message that it will be doing so. The manpage also gives no
> indication that this will happen.
deluser is a front-end for userdel here, which is responsible for
deleting the group:
[25/25]mh@lefler[chroot sid]:~$ grep monkey /etc/group
monkey:x:1002:
[26/26]mh@lefler[chroot sid]:~$ sudo userdel monkey
[27/27]mh@lefler[chroot sid]:~$ grep monkey /etc/group
[28/28]mh@lefler[chroot sid]:~$
I am reassigning appropriately.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835