Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
ok, so the /etc/passwd file exists, and the permissions look ok. try what billymayday suggested, and post the output. also, try this, and post the output:
Code:
/usr/sbin/useradd -p password ts
then do what billymayday suggested again, and post the output.
I rebuilt the VPS from fedora core to debian, now when I try to change the password I get a slightly different error message, which reveals a bit more of the problem I believe....
> passwd ts
Enter new UNIX password: Retype new UNIX password: No password supplied
Enter new UNIX password: Retype new UNIX password: No password supplied
Enter new UNIX password: Retype new UNIX password: No password supplied
passwd: Authentication token manipulation error
passwd: password unchanged
I have contacted my hosting provider asking if this is a problem with the server that they have to fix, any ideas?
OK, it looks like for some reason the system is receiving repeated "enter" characters. Normally it should pause every time it prompts you to "Enter new UNIX password:". You enter a password (although nothing shows up on the screen for security reasons), it prompts you to re-enter it to make sure you didn't make a typo, and then it says authentication tokens changed or something like that. If you are not hitting enter, then something is screwed up. It seems like there would be other symptoms though...
As a workaround, you could delete the new user like this:
Code:
/usr/sbin/userdel ts
And then try this again:
Code:
/usr/sbin/useradd -p password ts
That should work. Instead of typing "password", put in whatever you want the password to be.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.