When I try to add a new user, adduser is calling chfn in such a way as to cause chfn to ask for the root password. Output from adduser looks like this:
# adduser test Adding user test' ... Adding new group test' (1010) ... Adding new user test' (1010) with group test' ... The home directory /home/test' already exists. Not copying from /etc/skel'. Enter new UNIX password: (password for "test" supplied) Retype new UNIX password: (password for "test" reentered) passwd: password updated successfully Password: (root password supplied) Changing the user information for test Enter the new value, or press ENTER for the default Full Name []: Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [y/N] y # If I don't enter the root password I get this: # adduser test Adding user test' ... Adding new group test' (1010) ... Adding new user test' (1010) with group test' ... The home directory /home/test' already exists. Not copying from /etc/skel'. Enter new UNIX password: (password for "test" supplied) Retype new UNIX password: (password for "test" reentered) passwd: password updated successfully Password: (null password, or any password other than root, supplied) chfn: PAM authentication failed adduser: /usr/bin/chfn test' returned error code 1. Exiting. # 'ps ax' while waiting at the anomalous password prompt shows that chfn is waiting. adduser version: 3.102, passwd 1:4.0.18.1-7, perl: 5.8.8-7etch1 -- Pigeon Be kind to pigeons - - Pigeon's Nest: http://pigeonsnest.co.uk/ GPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F
signature.asc
Description: Digital signature