DeepThoughts

30 Oct

How to find expired Groupwise Users.

How to find expired groupwise users at the command line, using cygwin, and jrb utlities.

this quick one liner uses a for loop to go through each postoffice listing all the users with the jrbutilites command gwusers, its option displays the expiration date, we then grep for 200 to grab anything expiring in this decade.

$ for po in 1 2 3 4 6; do gwusers postoffice0$.domain01 /g /vam | grep "200"; done

Leave a Reply

© 2010 DeepThoughts | Entries (RSS) and Comments (RSS)

Design by Your Index - Powered By Wordpress