Results 1 to 10 of 11
How to add user through command line..??
i used "useradd" and "passwd" and created an account but i can't login to it......
- 01-31-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 11
Add user
How to add user through command line..??
i used "useradd" and "passwd" and created an account but i can't login to it...
- 01-31-2011 #2
You'll need to be more specific about what you did. Useradd is indeed a way to create a new user on the system and passwd changes a user's password.
How to create user account using Linux useradd command | Linux basic configurations
- 01-31-2011 #3Just Joined!
- Join Date
- Jan 2011
- Posts
- 11
i created a user using "useradd test" and set password for test by giving the command "passwd test"..after this when i try to enter into this account(test) by giving the password i set.................................. it say "authentication failure".
- 01-31-2011 #4
Are you running useradd and passwd as root?
- 01-31-2011 #5Just Joined!
- Join Date
- Jan 2011
- Posts
- 11
yes...i logged in as root...
- 01-31-2011 #6
And how are you trying to enter the account?
If you do
Can you login to the account from the terminal?Code:su - test
Did you perhaps enter the password wrong either when creating it or when trying to log in?
- 01-31-2011 #7Just Joined!
- Join Date
- Jan 2011
- Posts
- 11
yes...i can login to the account from terminal...
- 01-31-2011 #8Just Joined!
- Join Date
- Oct 2010
- Posts
- 2
- 02-01-2011 #9Just Joined!
- Join Date
- Jan 2011
- Posts
- 11
i removes the nologin file.....but still i can't login to that account..
- 02-01-2011 #10Just Joined!
- Join Date
- Oct 2010
- Posts
- 2
see the file also in
vi /etc/security/access.conf
there may be restricted all user for local mechine.


Reply With Quote
