LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cant set passwords for new users (https://www.linuxquestions.org/questions/linux-newbie-8/cant-set-passwords-for-new-users-88828/)

ribbones 09-03-2003 10:11 AM

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.

fancypiper 09-03-2003 10:44 AM

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

ribbones 09-03-2003 10:52 AM

Thx it worked !


All times are GMT -5. The time now is 08:34 AM.