How to force users to change their passwords every X months

75 views
Skip to first unread message

Jonathan Rick

unread,
Feb 22, 2012, 12:08:41 PM2/22/12
to google-app...@googlegroups.com
Hi there - I'd like to require users--including the administrator (me)--to change their passwords every X months. I understand that while Google Apps can't do this natively, an API code might help. Can anyone point me in the right direction? Thanks so much!

Claudio Cherubino

unread,
Feb 22, 2012, 12:15:50 PM2/22/12
to google-app...@googlegroups.com
Hi Jonathan,

You can use the Provisioning API to write a script that retrieves all users in the domain and forces each of them to change password at the next login:


Then you have to setup a cron job (or another scheduling solution) that is fired every x months and runs that script.

Claudio

On Wed, Feb 22, 2012 at 9:08 AM, Jonathan Rick <jona...@jonathanrick.com> wrote:
Hi there - I'd like to require users--including the administrator (me)--to change their passwords every X months. I understand that while Google Apps can't do this natively, an API code might help. Can anyone point me in the right direction? Thanks so much!

--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-apps-mgmt-apis/-/R25CDM3OSnwJ.
To post to this group, send email to google-app...@googlegroups.com.
To unsubscribe from this group, send email to google-apps-mgmt...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Jonathan Rick

unread,
Feb 22, 2012, 12:43:17 PM2/22/12
to google-app...@googlegroups.com
Thanks for your reply, Claudio. Unfortunately, I have no idea how to write a script, let alone what a "cron job" is. Do you know if what I'm looking for is perhaps already available? Thanks again.

Claudio Cherubino

unread,
Feb 22, 2012, 1:15:48 PM2/22/12
to google-app...@googlegroups.com
Hi Jonathan,

You can try using Google Apps Manager but please note that it doesn't allow running a script every x months and that is not supported directly by Google:


Claudio

On Wed, Feb 22, 2012 at 9:43 AM, Jonathan Rick <jona...@jonathanrick.com> wrote:
Thanks for your reply, Claudio. Unfortunately, I have no idea how to write a script, let alone what a "cron job" is. Do you know if what I'm looking for is perhaps already available? Thanks again.

--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.

Jonathan Rick

unread,
Feb 23, 2012, 10:44:34 AM2/23/12
to google-app...@googlegroups.com
Thanks again, Claudio.
Reply all
Reply to author
Forward
0 new messages