Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Force Password Change  (Read 5555 times)

0 Members and 1 Guest are viewing this topic.

vidal

    Topic Starter


    Rookie

    Force Password Change
    « on: February 26, 2010, 03:15:37 AM »
    I am responsible for and administrate an Apple Mac which is used by thirty different people in our office, each of which has their own login with individual password.

    I would like to force each user to change their password every 30 days but can't seem to find a way to do it

    Any suggestions please?

    Thank you

    billiehawkins



      Rookie

      • Experience: Beginner
      • OS: Unknown
      Re: Force Password Change
      « Reply #1 on: October 27, 2011, 09:47:18 AM »
      As an admin, you could setup a script that you may run at intervals or as needed:

      You could run the script as a task from iCal (like a cron job).


      You can set empty/null password and use passwd command to expire password. This will result into immediate password change for the first time.

      For example you just need to type following two commands:
      # usermod -p "" username
      # chage -d 0 username