LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   A question about changing a user password... (https://www.linuxquestions.org/questions/linux-newbie-8/a-question-about-changing-a-user-password-768796/)

trist007 11-12-2009 07:58 PM

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.

choogendyk 11-12-2009 08:06 PM

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.

trist007 11-12-2009 08:08 PM

Just tried that, it didn't work.

trist007 11-12-2009 10:16 PM

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.

evo2 11-12-2009 10:21 PM

Didn't you just change your username from glenn to glen?

If so, this has got to be related.

Evo2.

trist007 11-12-2009 10:22 PM

Actually no I haven't. It's still glenn hehe.

evo2 11-12-2009 10:36 PM

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.

trist007 11-12-2009 10:54 PM

Yea, I'm positive. I did it slow and easy. I'm using Slackware 12.0 Backtrack 3.


All times are GMT -5. The time now is 07:09 PM.