LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-12-2009, 07:58 PM   #1
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 70
A question about changing a user password...


I'm running Slackware 12.0 and I'm trying to change a password for a user glen. I login via ssh as glen and use the password. Then I run

Code:
passwd
and it asks for the old password. I use the password, same one I use for ssh, and for some reason it says the password is incorrect. I do not have caps lock. I don't get it. I just finish logging in via ssh with that password, then I use passwd and I use the same password as the old password and it says it's incorrect.
 
Old 11-12-2009, 08:06 PM   #2
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
Did you try `passwd glen`? I know that's an issue when you have gotten there using `su glen`, but I wouldn't think it would be an issue when you login directly as glen.
 
Old 11-12-2009, 08:08 PM   #3
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Original Poster
Rep: Reputation: 70
Just tried that, it didn't work.
 
Old 11-12-2009, 10:16 PM   #4
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Original Poster
Rep: Reputation: 70
One possible solution is to log in as root and run

Code:
passwd glen
However, I would like to understand why my password (when logged in as glen) gets returned as an incorrect password when it's obviously the right one.
 
Old 11-12-2009, 10:21 PM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Didn't you just change your username from glenn to glen?

If so, this has got to be related.

Evo2.
 
Old 11-12-2009, 10:22 PM   #6
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Original Poster
Rep: Reputation: 70
Actually no I haven't. It's still glenn hehe.
 
Old 11-12-2009, 10:36 PM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
I'd check that you really are entering the keystrokes you think you are by typing out your password on the command line... sometimes you can get keyboard layout miss match wierdness... but that's me who is forever switching between US and JP keyboards.

Evo2.
 
Old 11-12-2009, 10:54 PM   #8
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Original Poster
Rep: Reputation: 70
Yea, I'm positive. I did it slow and easy. I'm using Slackware 12.0 Backtrack 3.
 
  


Reply


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
User friendly message to user on password changing tanveer Linux - General 2 02-24-2009 07:56 AM
Changing password for user r_senthil28 LinuxQuestions.org Member Intro 1 08-27-2008 08:30 AM
Trouble Creating User/ Changing Password beantier Linux - Newbie 19 04-09-2008 09:42 AM
changing user, root, password! itz2000 Linux - Newbie 3 11-19-2005 03:31 AM
changing the password of a user sadiboyz Linux - Newbie 2 04-21-2003 02:22 PM

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

All times are GMT -5. The time now is 05:31 PM.

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