Computer Hope
Software => Apple => Topic started by: vidal 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
-
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