Page 1 of 1

Last signon info from omsearch

Posted: Mon May 14, 2007 3:29 pm
by eyalm
Is there a way to run an omsearch that will return the last time a user logged in?
I know that omshowu does show that info, but I wanted to get a list of users that havent logged in in more than a month.

Thanks

Posted: Mon May 14, 2007 4:52 pm
by craig
omshowu -m all|while read i; do omshowu "$i"|grep User\ Name && omshowu "$i"|grep Last\ Signon && echo; done