How do I set the Logon hours of a user account to be 'all times' via the Command Line Interface? (NETIQKB27409)

  • 7727409
  • 02-Feb-2007
  • 19-Jun-2007

Resolution

goal
How do I set the Logon hours of a user account to be 'all times' via the Command Line Interface?

fact
Directory and Resource Administrator 6.x

fact
Directory and Resource Administrator 7.x

fix

To set the logon hours to 'all times' via the CLI, run the following command:

C:\Program Files\NetIQ\DRA>EA USER username update times:all

Below is the sytax of the Times parameter for the CLI:

TIMES:{times|ALL}

Specifies the times during which a user account can log on. Specify the times value in 1-hour increments and in the following format:

day[-day][,day[-day]],
time
[-time][,time[-time]]

Abbreviate the name of the day. Specify hour values from 0 to 24, based on a 24-hour clock. If you specify 4-8, the user can log on from 4:00 AM until 7:59 AM. If you specify ALL, the user can log on at any time of the day. If you do not specify any value, the user can never log on. Separate day and time entries with a comma (,), and separate multiple day and time entries with a semicolon (;). For example, to allow a user to log on any time except from 4:00 PM to 8:00 PM on Sundays, specify:

sun,0-16;sun,20-24;mon-sat,0-24


Additional Information

Formerly known as NETIQKB27409