Operating System - HP-UX
1753775 Members
7404 Online
108799 Solutions
New Discussion юеВ

Re: MODPRPW question and account TIMEOD parameter.

 
rmueller58
Valued Contributor

MODPRPW question and account TIMEOD parameter.

I've seen references to using modprpw to define account access times.

I need to LOCK an account out from 01:00-04:00
Everyday

need someone to check me, but I was thinking I could do:

/usr/lbin/modprpw -m timeod=Any=04:00-01:00 username

this should allow the user on from 4:00AM through the day till 1:00AM following morning..

correct??

Any insight appreciated

11.11 trusted system.
2 REPLIES 2
rmueller58
Valued Contributor

Re: MODPRPW question and account TIMEOD parameter.

Disregard time = timeod=0400-0100

question resolved.
James R. Ferguson
Acclaimed Contributor

Re: MODPRPW question and account TIMEOD parameter.

Hi Rex:

The manpages would suggest:

# /usr/lbin/modprpw -m timeod=Any0400-0100 username

...without the "=' character after the 'Any' keyword.

However, I suspect that you will need to do:

# /usr/lbin/modprpw -m timeod=Any0400-2359,Any0000-0100 username

Regards!

...JRF...