Unable to change password for a specific user.
Hello,
I am able to change passwords of all users except one. Any help regarding this issue will be highly appreciated. Thanks in advance. [root@EMS003 ~]# uname -a Linux MS003 2.6.18-408.el5 #1 SMP Fri Dec 11 14:03:08 EST 2015 x86_64 x86_64 x86_64 GNU/Linux [root@EMS003 ~]# passwd smith Changing password for user smith. New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully. [root@EMS003 ~]# passwd helpdesk Changing password for user helpdesk. Changing password for helpdesk (current) password: Account cannot be accessed at this time. Please contact your system administrator. passwd: Authentication information cannot be recovered --**-- |
do you have a user named helpdesk? how is this user configured?
|
Quote:
cat /etc/passwd|grep helpdesk helpdesk:x:572:572::/home/helpdesk:/bin/bash cat /etc/passwd-|grep helpdesk helpdesk:x:572:572::/home/helpdesk:/bin/bash cat /etc/shadow|grep helpdesk helpdesk:$1$Encrypttext$Encrypttext/Encrypttext.:17761:0:99999:7::: cat /etc/shadow-|grep helpdesk helpdesk:$1$Encrypttext$Encrypttext/Encrypttext.:17761:0:99999:7::: cat /etc/group|grep helpdesk helpdesk:x:572: cat /etc/group-|grep helpdesk helpdesk:x:572: |
was that home dir created?
|
exaclty you forgot to check
Code:
ls /home |
Quote:
Quote:
|
Quote:
Exactly how did you create this user? |
Quote:
What version/distro of Linux are you using, what authentication methods, and how was this user created initially? |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
I got this. helpdesk is a Active Directory user which was locked due to multiple login attempts using wrong passwords. I reset the password in AD and tried same password to login. Fortunately I am now able to login into squirrelmail.
Thank you all for your solution and support. Cheers! |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 05:01 PM. |