Skip to main content

Track email users password changes

Comments

6 comments

  • cPanelMichael
    Hello :) The date of the last password change is recorded in the shadow file (for email it's stored in /home/$username/etc/$domain/). The following link explains how to find it: [url=http://www.cyberciti.biz/faq/understanding-etcshadow-file/]Understanding /etc/shadow file Thank you.
    0
  • anand
    [quote="cPanelMichael, post: 1581601">The date of the last password change is recorded in the shadow file (for email it's stored in /home/$username/etc/$domain). The following link explains how to find it: [url=http://www.cyberciti.biz/faq/understanding-etcshadow-file/]Understanding /etc/shadow file
    Ok cool, thanks. That's what I was looking for. A few lines from the article on shadow files [Quote] The last 6 fields provides password aging and account lockout features (you need to use chage command to setup password aging).
    Is this the same way cpanel forces password change for email users ? Thanks
    0
  • cPanelMichael
    cPanel uses a combination of it's own scripts and the shadow files for password aging. Thank you.
    0
  • anand
    [quote="cPanelMichael, post: 1582451">cPanel uses a combination of it's own scripts and the shadow files for password aging. Thank you.
    Is it possible to get more insight on this :) Perhaps I can simulate my own notifications to users the same way. Thanks
    0
  • cPanelMichael
    The previous link provided should provide you with enough information about the shadow file so you can develop your own application: [url=http://www.cyberciti.biz/faq/understanding-etcshadow-file/]Understanding /etc/shadow file The module/script that cPanel uses to implement the checking is not open source as far as I know, but you are welcome to make a new post on our Developers forum to get input on how to setup such an application from other users. Thank you.
    0
  • anand
    ok thanks for the help. Will post in developer section.
    0

Please sign in to leave a comment.