LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices

Reply
 
Search this Thread
Old 03-10-2006, 09:08 AM   #1
jimjamjahaa
Member
 
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127

Rep: Reputation: 15
no ****ing way! this is too much, i am really annoyed now


ok, so maybe this page i was looking at was just blatantly lieing, but it gave me the impression that to add a user you type useradd [options] [username]

so i typed, as root

useradd -gusers -pmypassword -d/home/Richard -m richard

but i cant log on.

always says password is incorrect.

so i then (admitedly stupidly) used usermod. i wanted to change the root password so that it wasnt just auto login, to make it more secure.

usermod -prootpassword root

now guess what? i cant login as root either!!!!

have i just broken everything? what the **** is up with this? i have never had any problems command line administrating stuff before

help!
 
Old 03-10-2006, 09:28 AM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
To change the password of a user you use
Code:
passwd
command
Type
Code:
man passwd
for more details
 
Old 03-10-2006, 10:36 AM   #3
jimjamjahaa
Member
 
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127

Original Poster
Rep: Reputation: 15
hmmm so i found out. i had to boot up a live ubuntu cd and delete the password from /etc/shadow
 
Old 03-10-2006, 11:40 AM   #4
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Rep: Reputation: 64
Just to explain why you was unlucky with "useradd -p mypassword":
the "-p" argument expects a _encrypted_ password, not a plain password.
You can get this encrypted password with "mkpasswd" command and uses the result as argument to "-p".

cheers,
 
Old 03-10-2006, 07:04 PM   #5
soulestream
Member
 
Registered: Nov 2005
Posts: 183

Rep: Reputation: 30
just use adduser, instead

soule
 
Old 03-14-2006, 09:06 AM   #6
jimjamjahaa
Member
 
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127

Original Poster
Rep: Reputation: 15
@ marozsas

yeah i noticed that as i was deleting it from the shadow file
 
Old 03-14-2006, 05:33 PM   #7
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
This was a really really awful thread title. Try not to repeat the mistake. Having a correctly descriptive thread title helps our members to identify your thread and to know if they wish to post in it. It also makes it easier for people to search for this problem.
 
  


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
I am annoyed with suse paschim General 11 06-29-2004 07:33 AM
S*[t-r]+[ing]?g gr33ndata Programming 10 03-13-2004 06:15 AM
2 problems. boy im annoyed! any good books? e1000 Slackware 2 10-18-2003 12:46 AM
An annoyed small problem with Emacs jiey Linux - General 2 09-01-2003 05:01 PM
just a quicky...(su-ing) salparadise Linux - Newbie 2 01-24-2003 05:40 PM


All times are GMT -5. The time now is 08:17 PM.

Main Menu
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