Package: adduser
Version: 3.80

This bug may be in the shadow (source) package, or in the interaction
between shadow and adduser. I lack the time to find it properly, sorry.

When I create a user in a chroot (with shadow passwords not enabled,
since that is how it is when debootstrap creates it), the
file /etc/group.lock is created:

[EMAIL PROTECTED]:/# ls -l /etc/group.lock
ls: /etc/group.lock: No such file or directory
[EMAIL PROTECTED]:/# adduser --disabled-password --gecos blah blah
Adding user `blah'...
Adding new group `blah' (1003).
Adding new user `blah' (1003) with group `blah'.
Creating home directory `/home/blah'.
Copying files from `/etc/skel'
[EMAIL PROTECTED]:/# ls -l /etc/group.lock
-rw------- 1 root root 6 Jan 15 22:44 /etc/group.lock
[EMAIL PROTECTED]:/# ls -l /etc/shadow
ls: /etc/shadow: No such file or directory
[EMAIL PROTECTED]:/#

I suspect the lock file is being created by one of the shadow tools, but
not removed when it bails out because shadow isn't being used, or
something like that.

-- 
Policy is your friend. Trust the Policy. Love the Policy. Obey the
Policy.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to