VM:Secure What rule should I use to allow a login during a certain day and time period?
search cancel

VM:Secure What rule should I use to allow a login during a certain day and time period?

book

Article ID: 430405

calendar_today

Updated On:

Products

VM:Secure for z/VM

Issue/Introduction

How can I make a user be able to login during a specific day and time?

Environment

z/VM
VM:Secure

Resolution

By issuing VMSECURE RULES USER userid you can add the ACCEPT and REJECT LOGON lines to the username USRRULES file to set a day and time to accept logons. 

Example:

ACCEPT * LOGON * (ANYTERM DAY MON TIME 1300 1500 
REJECT * LOGON * (ANYTERM


This example allows logons on Monday between 1300-1500. 


See more information on the LOGON Rule here.