LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-03-2003, 10:11 AM   #1
ribbones
LQ Newbie
 
Registered: Sep 2003
Posts: 9

Rep: Reputation: 0
Question Cant set passwords for new users


Hi !

Im running RH 9 and using shadowed passwords.

When i use "useradd -p XXXXX newuser"
I can't login as "newuser","XXXXX", i get "Login incorrect".

I can "su newuser" as root.
But when i try "passwd" as newuser
i'll get "passwd: Authentication token manipulation error"
after i have entered the password.

And the same problem if i add a user in "/etc/passwd" and then use "pwconv".
Cant login but i can su.
 
Old 09-03-2003, 10:44 AM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
To change to the full root account (system administrator), open an x terminal and use these commands from your user account. Note the change in the prompt.
Code:
[fancy@tinwhistle fancy]$ su -
Password: 
[root@tinwhistle root]# passwd <username>
Use the command passwd
 
Old 09-03-2003, 10:52 AM   #3
ribbones
LQ Newbie
 
Registered: Sep 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Thx it worked !
 
  


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
Default passwords for users paddyjoy Linux - Security 7 11-17-2005 03:30 AM
Need shell script to set passwords for already created users naren_0101bits Programming 2 08-28-2005 02:02 PM
remove passwords from all users? paul_mat Linux - Networking 2 06-23-2005 05:59 PM
Help with users and passwords???? graystarr Linux - Software 3 04-21-2003 09:40 AM
users/passwords scipts Anthony Programming 1 03-27-2002 07:40 PM

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

All times are GMT -5. The time now is 05:25 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
Open Source Consulting | Domain Registration