Operating System - HP-UX
1752797 Members
5583 Online
108789 Solutions
New Discussion юеВ

Trused system -> usermod -f

 
Quark
Valued Contributor

Trused system -> usermod -f

Hi,

if I use the 'usermod -f' command to set the inactivity period on users, how I can get the information about what users have been inactive for that time? Is there a reporting cmd that I can run? Or when the inactive time period is passed, is there a message written to the syslog?

With kind regards,

Kris
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: Trused system -> usermod -f

Hi Kris:

Have a look at the manpages for 'logins(1M)' particularly the information returned with '-x'.

http://docs.hp.com/en/B2355-60127/logins.1M.html

Regards!

...JRF...
Quark
Valued Contributor

Re: Trused system -> usermod -f

Thanks for the answer.

Apparently the -x option doesn't say anythin about the inactivity period of the user.
The man page is not very clear about what all the fiels mean.

Can you give some more info?

any help much appreciated

Kris
Antonio Cardoso_1
Trusted Contributor

Re: Trused system -> usermod -f

Hi Kris,

information can be obtained from
/usr/lbin/getprpw -l
it appears to be in "llog" parameter.

See also man getprpw

antonio.