LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-08-2006, 04:50 PM   #1
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Rep: Reputation: 30
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)

Last edited by MrSako; 10-08-2006 at 04:52 PM.
 
Old 10-08-2006, 04:55 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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.
 
Old 10-08-2006, 05:06 PM   #3
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Original Poster
Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble creating user accounts krsnachaitanya Linux - Networking 2 02-12-2005 11:01 AM
what is the command to make a user change their password after creating a new user? naweenio Linux - Newbie 7 01-05-2005 08:07 AM
I'm having trouble creating users royalflush Linux - Newbie 6 08-02-2004 11:31 AM
Trouble creating shares in Samba Night853 Linux - Software 3 03-04-2004 12:22 AM
trouble creating a link to an application evilmrhenry Linux - Software 3 02-15-2004 02:19 AM


All times are GMT -5. The time now is 03:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration