[Adduser-devel] Strange adduser behavior
Łukasz Czyczyło
Lukasz.Czyczylo at comarch.pl
Fri Jul 22 14:10:32 UTC 2005
Hello
There seems to be a problem with package 'adduser' in version 3.65.
After creating new user and adding him to a local group i.e. 'audio'
another user, who was in this group before, lost membership. When I
added him, new user lost membership. Seems that only one user can belong
to local group.
I have performed test installation of Debian Woody 3.0 R2 with 'adduser'
in version 3.47 - in that system this bug doesn't exist - both users
belong to a local group.
nbczyczylo:~# adduser first
Adding user `first'...
Adding new group `first' (1003).
Adding new user `first' (1003) with group `first'.
Tworzenie katalogu domowego /home/first.
Kopiowanie plików z /etc/skel
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Zmieniam informację o użytkowniku first
Wpisz nową wartość lub wciśnij ENTER by przyjąc wartość domyślną
Imię i nazwisko []:
Numer pokoju []:
Telefon do pracy []:
Telefon domowy []:
Inne []:
Czy informacja jest poprawna? [y/N] y
nbczyczylo:~# adduser first audio
Dodawanie użytkownika first do grupy audio...
Gotowe.
nbczyczylo:~# id first
uid=1003(first) gid=1003(first) grupy=1003(first),29(audio)
nbczyczylo:~# adduser second
Adding user `second'...
Adding new group `second' (1004).
Adding new user `second' (1004) with group `second'.
Tworzenie katalogu domowego /home/second.
Kopiowanie plików z /etc/skel
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Zmieniam informację o użytkowniku second
Wpisz nową wartość lub wciśnij ENTER by przyjąc wartość domyślną
Imię i nazwisko []:
Numer pokoju []:
Telefon do pracy []:
Telefon domowy []:
Inne []:
Czy informacja jest poprawna? [y/N] y
nbczyczylo:~# id first
uid=1003(first) gid=1003(first) grupy=1003(first),29(audio)
nbczyczylo:~# adduser second audio
Dodawanie użytkownika second do grupy audio...
Gotowe.
nbczyczylo:~# id first
uid=1003(first) gid=1003(first) grupy=1003(first)
nbczyczylo:~# id second
uid=1004(second) gid=1004(second) grupy=1004(second),29(audio)
nbczyczylo:~# adduser first audio
Dodawanie użytkownika first do grupy audio...
Gotowe.
nbczyczylo:~# id first
uid=1003(first) gid=1003(first) grupy=1003(first),29(audio)
nbczyczylo:~# id second
uid=1004(second) gid=1004(second) grupy=1004(second)
Regards.
Łukasz Czyczyło
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2907 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20050722/20662a56/smime.bin
More information about the Adduser-devel
mailing list