LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 04-08-2008, 11:22 PM   #16
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122

You want to

cat /etc/passwd | grep ts


Are you trying to add the user, change the password, etc. as root or some other user?
 
Old 04-08-2008, 11:28 PM   #17
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
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.
 
Old 04-08-2008, 11:57 PM   #18
beantier
LQ Newbie
 
Registered: Apr 2008
Posts: 13

Original Poster
Rep: Reputation: 0
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?
 
Old 04-09-2008, 12:00 AM   #19
beantier
LQ Newbie
 
Registered: Apr 2008
Posts: 13

Original Poster
Rep: Reputation: 0
> cat /etc/passwd | grep ts
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
ts:x:1000:1001::/home/ts:/bin/bash


> /usr/sbin/useradd -p password ts
useradd: user ts exists


> cat /etc/passwd | grep ts
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
ts:x:1000:1001::/home/ts:/bin/bash
 
Old 04-09-2008, 09:42 AM   #20
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
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.
 
  


Reply

Tags
create, password, user


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
How to set password when creating user accounts correro Linux - Newbie 3 02-08-2007 02:32 AM
trouble creating a user MrSako Linux - Newbie 2 10-08-2006 04:06 PM
what is the command to make a user change their password after creating a new user? naweenio Linux - Newbie 7 01-05-2005 07:07 AM
changing the password of a user sadiboyz Linux - Newbie 2 04-21-2003 02:22 PM
Creating a User with No Password? OldNewUser Linux - Networking 1 08-26-2002 09:56 AM


All times are GMT -5. The time now is 01:13 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