HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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...