useradd problem
If i make a new user by doing 'useradd -d /home/test -s /bin/sh -p test test'
the user is in the file /etc/passwd and /etc/shadow but i cannot login with login/pass: test/test if i make the same user with the 'adduser' command i can login without a problem. What is the problem here??? |
I'm seeing the same results....As a work around, you can create the user and set the password afterwards using 'passwd [username]' ;)
|
u have the same results like me with the useradd command?
So what is the useradd commands make a new user that u cannot use? not very usefull if you ask me. thx for the fast reply |
What distro are you using. I had a similar problem a while ago on Slack 9.1. I tend to use "adduser" now.
|
debian
|
All times are GMT -5. The time now is 04:53 PM. |