1.

Solve : Force Password Change?

Answer»

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 youAs 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



Discussion

No Comment Found