Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-03-2003, 10:11 AM   #1
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
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.
[fancy@tinwhistle fancy]$ su -
[root@tinwhistle root]# passwd <username>
Use the command passwd
Old 09-03-2003, 10:52 AM   #3
LQ Newbie
Registered: Sep 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Thx it worked !


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
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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:12 AM.

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