cancel
Showing results for 
Search instead for 
Did you mean: 

Password expiring

 
kunjuttan
Super Advisor

Password expiring

Hi All,

 

I am facing one issue in Linux(RHEL-5) server. One specific user password is getting expired frequently. Everything is fine in shadow file.

Please help.

4 REPLIES
Chhaya_Z
Valued Contributor

Re: Password expiring

Hi,

How does the user login? is it using SSH or sftp etc?

Also check Password Expires in
# chage -l <username>
Regards,
Chhaya

I am an HP employee.
Was this post useful? - You may click the KUDOS! star to say thank you.
kunjuttan
Super Advisor

Re: Password expiring

user login via ssh.

 

wht is that command for??

Tim Nelson
Honored Contributor

Re: Password expiring

man chage

 

chage lists and changes the uid's password expiration settings.

 

gtk321
Occasional Visitor

Re: Password expiring

Hi,

 

Is this happening for both console logins and ssh? or is it happening only for ssh logins?

 

As root, run the command

 

chage -l     <username>

 

and see what are the current account and password expiration values. If you suspect anything then change

accordingly using

 

chage   <username>

 

hope this helps you

 

regards

 

Krishna