LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 03: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 03:52 PM.
 
Old 10-08-2006, 03:55 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 04: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



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 10: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 07:07 AM
I'm having trouble creating users royalflush Linux - Newbie 6 08-02-2004 10:31 AM
Trouble creating shares in Samba Night853 Linux - Software 3 03-03-2004 11:22 PM
trouble creating a link to an application evilmrhenry Linux - Software 3 02-15-2004 01:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:56 PM.

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
Open Source Consulting | Domain Registration