Skip to main content

Password expiration not writing to shadow

Comments

4 comments

  • cPanelMichael
    Hello, 1. The /etc/shadow file is utilized for password changes. You may find this thread helpful:
    0
  • AthensMatt
    . What file file is WHM writing to when changing the password age?

    Hello, 1. The /etc/shadow file is utilized for password changes. You may find this thread helpful:
    0
  • AthensMatt
    Michael, One other question: If we were to edit /etc/shadow to set the password age to 90 days so ssh and ftp users would also be restricted to password age policies. If then when the 90 days was reached and the ssh user was notified of password expiration, and then the user does a passwd and changes their password, will that change replicate to all locations it needs to be? I know it will change in /etc/shadow but will it also need to change in other locations for cpanel login to work properly? Sorry for all the questions! Trying to get this figured out since about half our users are ssh and sftp only users. Thanks!
    0
  • cPanelMichael
    Could you open a support ticket using the link in my signature so we can take a closer look? It's possible this feature is not functioning as expected if the /etc/shadow file is not updating as expected. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0

Please sign in to leave a comment.