LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-22-2013, 07:42 AM   #1
gaurvrishi
Member
 
Registered: Apr 2012
Posts: 51

Rep: Reputation: Disabled
Smile 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
 
Old 05-22-2013, 07:54 AM   #2
theNixGuy
LQ Newbie
 
Registered: May 2013
Location: USA & India
Distribution: CentOS & Ubuntu
Posts: 8

Rep: Reputation: Disabled
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?
 
Old 05-22-2013, 07:56 AM   #3
gaurvrishi
Member
 
Registered: Apr 2012
Posts: 51

Original Poster
Rep: Reputation: Disabled
Smile WHM

I have sent the mailer using the Script. It will help as atleast 50 % user will change there password
 
Old 05-22-2013, 08:00 AM   #4
theNixGuy
LQ Newbie
 
Registered: May 2013
Location: USA & India
Distribution: CentOS & Ubuntu
Posts: 8

Rep: Reputation: Disabled
Quote:
Originally Posted by gaurvrishi View Post
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.
 
1 members found this post helpful.
Old 05-22-2013, 06:47 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,356

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
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.
 
Old 05-23-2013, 02:17 AM   #6
theNixGuy
LQ Newbie
 
Registered: May 2013
Location: USA & India
Distribution: CentOS & Ubuntu
Posts: 8

Rep: Reputation: Disabled
Quote:
Originally Posted by chrism01 View Post
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.
 
Old 05-23-2013, 04:48 AM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,356

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Why not; isn't the underlying OS Linux?
 
  


Reply

Tags
cpanel


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ClamAV with WHM and Centos 5.8 osmy Linux - Newbie 6 05-07-2012 06:40 PM
cpanel/whm. M.Iftikhar Alam Linux - Newbie 1 12-03-2010 05:30 PM
whm scripts through console shanecaldeiro Linux - Newbie 0 05-18-2009 03:01 PM
quota problem in WHM - please help chadi Fedora 1 09-01-2004 01:06 AM
quota problem in WHM - please help chadi Linux - Software 0 08-31-2004 06:22 PM


All times are GMT -5. The time now is 03:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration