Operating System - Linux
1753595 Members
6244 Online
108796 Solutions
New Discussion юеВ

Not able to switch to the User with the new password.

 
E.Gopi Kannan
Occasional Advisor

Not able to switch to the User with the new password.

I have got the request to reset the password for one User. I have unlocked and reset the password. but am not able to switch to the user with the new password which I reset:(. what may be the issue?
Below is the error message:
--------------------------------
-bash-3.00$ su
Password:
su: incorrect password
-bash-3.00$
----------------------------------
5 REPLIES 5
Bill Hassell
Honored Contributor

Re: Not able to switch to the User with the new password.

Did you reset the user's password to something crazy like 35%68()8%#2@? Special characters will always cause a problem someplace. Make sure the password is alpha-numeric. If you must use special characters, do NOT use # or @.


Bill Hassell, sysadmin
Suraj K Sankari
Honored Contributor

Re: Not able to switch to the User with the new password.

Hi,

If you having # or $ in your passwd then it cause sometime.
set your passwd as suggest above alpha-numeric

Suraj
E.Gopi Kannan
Occasional Advisor

Re: Not able to switch to the User with the new password.

Hi All,

Thaks for your replies. I have got an answer from google. I used "pam_tally --user username -- reset", also it works.

FYI- I dint use special characters for the password.
Bill Hassell
Honored Contributor

Re: Not able to switch to the User with the new password.

>> I used "pam_tally --user username -- reset"

I searched all the versions of HP-UX and could not locate the command pam_tally. Are you asking about Linux?


Bill Hassell, sysadmin
E.Gopi Kannan
Occasional Advisor

Re: Not able to switch to the User with the new password.

Yes. Sorry for that.!