LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   WHM (https://www.linuxquestions.org/questions/linux-newbie-8/whm-4175462994/)

gaurvrishi 05-22-2013 07:42 AM

WHM
 
HI

We are using WHM and our MTA is exim. I have informed my user to change there password. now i want to know that how many user has changed there password recently. Please tell me know is it possible to find same

theNixGuy 05-22-2013 07:54 AM

Even I would be interested in getting this answered. How exactly did you force them to change the password? Just a mail or forced it from WHM?

gaurvrishi 05-22-2013 07:56 AM

WHM
 
I have sent the mailer using the Script. It will help as atleast 50 % user will change there password

theNixGuy 05-22-2013 08:00 AM

Quote:

Originally Posted by gaurvrishi (Post 4956485)
I have sent the mailer using the Script. It will help as atleast 50 % user will change there password

Why not go through "Security Policies" in WHM and set the "change password" age to 1 day? That way, within next 24 hours, everyone would be asked to update the password. In a couple of days, set it to 60 days again.

chrism01 05-22-2013 06:47 PM

Code:

chage -l  <username>
http://linux.die.net/man/1/chage

If you want all users, write script to extract them from /etc/passwd, then loop on chage.

theNixGuy 05-23-2013 02:17 AM

Quote:

Originally Posted by chrism01 (Post 4956868)
Code:

chage -l  <username>
http://linux.die.net/man/1/chage

If you want all users, write script to extract them from /etc/passwd, then loop on chage.

I am not sure if that would work on cPanel powered servers.

chrism01 05-23-2013 04:48 AM

Why not; isn't the underlying OS Linux?


All times are GMT -5. The time now is 10:44 PM.