Earlier today I tried adding a new user with 'adduser', and it went
through all the normal prompts up to where it says, "blah blah blah
press ENTER to create the new user, or ctrl-c to bail out etc etc". When
I pressed enter, the following ouput was output:
chfn: Unknown user <newusername>
passwd: unknown user <newusername>
Following the instructions given in the Linux System Administrator's
Guide, I tried creating the new user by hand. All was fine until I tried
to give the new user a password. After entering the password and
confirming it, the passwd file gave the error:
Cannot lock the password file; try again later.
What's going on here?
Secondly, of less importance, is the fact that, for some reason, I can
no longer reboot the system with 'shutdown -rf now', which used to work.
Now, if I do that, it says:
The system is going down for reboot NOW !!
init: cannot create /etc/initrunlvl
INIT: no more processes left in this runlevel
Pressing ctrl-alt-del after it freezes makes it reboot, with some new
messages, including the text 'Falling back on default routines'. The
rest of the text goes by so fast that I can't read it. Can anyone help?