Salut,

En woody, adduser version 3.45.


--> je cr�e un groupe bind

~# addgroup --gid 210 bind
Adding group bind (210)...
Done.

~# grep bind /etc/group
bind:x:210:


--> je cr�� l'utilisateur bind avec bind comme groupe principal
--> et je me plante dans le mot de passe

~# adduser --uid 210 --ingroup bind --home /local/etc/bind bind 
adduser: Warning: The home dir you specified already exists.
Adding user bind...
Adding new user bind (210) with group bind.
Home directory /local/etc/bind already exists.  Not copying from
/etc/skel
Enter new UNIX password: 
Retype new UNIX password: 
No password supplied
Enter new UNIX password: 
Retype new UNIX password: 
No password supplied
Enter new UNIX password: 
Retype new UNIX password: 
No password supplied
passwd: Authentication token manipulation error
adduser: `passwd bind' returned error code 10.  Aborting.
Cleaning up.
Removing user `bind'.


--> le groupe a �t� supprim� avec l'utilisateur !

~# grep bind /etc/group


--> par cons�quent :

~# adduser --uid 210 --ingroup bind --home /local/etc/bind bind
adduser: Warning: The home dir you specified already exists.
adduser: The group `bind' doesn't exist.


A noter que le groupe n'est pas supprim� s'il y a d�j� un utilisateur
dedans.

Bug ou fonctionnalit� ?


-- 
Charles

Répondre à