LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   trouble creating a user (https://www.linuxquestions.org/questions/linux-newbie-8/trouble-creating-a-user-490646/)

MrSako 10-08-2006 03:50 PM

trouble creating a user
 
i just got a new dedicated server. i thought i had the linux thing down but i seem to not.

i tried to create a user logged in as root (via shell server)

useradd -g groupname -p newuser_password newusername

but i can't seem to login as 'newusername'

is there more parameters i should put in? (this is on centos 4.x)

(before i had webmin installed on my other server and used its thing to create users, i decided this time to see if i can do it without webmin or any CPs to get more skilled)

edit: but i CAN login as root, and do su newusername and that works, but thats still not what i want obviosuly)

acid_kewpie 10-08-2006 03:55 PM

sounds like the password is just wrong or something, if you can su to it the user itself must be fine. try just resettign it as root with the passwd command.

MrSako 10-08-2006 04:06 PM

weird,

well it fixed it. im pretty sure i never typed it in wrong i checked myself like 5 times

it works now though thanks


All times are GMT -5. The time now is 10:24 PM.