tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Restricting user login by time and day of week
@ 2004-10-22 13:06 LAWRIE SMITH
  0 siblings, 0 replies; only message in thread
From: LAWRIE SMITH @ 2004-10-22 13:06 UTC (permalink / raw)


Sorry folks, answered my own question, RTFM!

usermod -x logon_hours


      logon_hours=time-string
          Sets the days of the week and hours of the
day during which the
          account holder can log in to the account.
The time string format is
          an entry of Dd0000-0000 for each day and
time that logins are
          enabled.  Time is given in a 24-hour clock
format. For example, to
          restrict logins to Sunday, Monday and
Wednesday:
               Su0830-1730,Mo0830-1730,We0830-1730

          The hours are restricted to 8:30AM to
5:30PM.

L



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-22 13:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-22 13:06 SUMMARY: Restricting user login by time and day of week LAWRIE SMITH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox