Results 1 to 10 of 16
Thread: useradd problem
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
10-18-2007 #1
- Join Date
- Oct 2007
- Posts
- 19
useradd problem
# useradd -m -s /bin/bash username
and it then gives me a password error without letting me enter the password command.
Please help!!!!
-
10-18-2007 #2
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,732
Welcome to the forums!
Not sure it'll work, but try adduser instead.
Let us know.oz
-
10-18-2007 #3
- Join Date
- Oct 2007
- Posts
- 19
unfortunately they both come with the same problem "unable to lock password file"
-
10-18-2007 #4
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,732
I'm really not sure what's going on here.
Have you already created a root password?oz
-
10-18-2007 #5
Sounds like the root file system might be mounted read-only. Check /etc/fstab. Make it read-write if so.
-
10-18-2007 #6
- Join Date
- Oct 2007
- Posts
- 19
im not sure but how do i set root password,
-
10-18-2007 #7
-
10-18-2007 #8
- Join Date
- Oct 2007
- Posts
- 19
but when i try that and enter new password it comes up with
"passwd: Authentication token lock busy"
-
10-18-2007 #9
That's why I think your fstab is mounting the root filesystem as read-only. Post the output of:
Code:cat /etc/fstab
-
10-18-2007 #10
- Join Date
- Oct 2007
- Posts
- 19
just wrote it in, and what am i going to be looking for