LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   useradd problem (https://www.linuxquestions.org/questions/linux-newbie-8/useradd-problem-276501/)

ruben0076 01-11-2005 08:20 AM

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???

jsutton 01-11-2005 08:34 AM

I'm seeing the same results....As a work around, you can create the user and set the password afterwards using 'passwd [username]' ;)

ruben0076 01-11-2005 08:52 AM

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

reddazz 01-11-2005 09:09 AM

What distro are you using. I had a similar problem a while ago on Slack 9.1. I tend to use "adduser" now.

ruben0076 01-11-2005 11:28 AM

debian


All times are GMT -5. The time now is 04:53 PM.