tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: LAWRIE SMITH <lawries@btinternet.com>
Subject: SUMMARY: Restricting user login by time and day of week
Date: Fri, 22 Oct 2004 14:06:12 +0100 (BST)	[thread overview]
Message-ID: <20041022130612.26898.qmail@web86001.mail.ukl.yahoo.com> (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



                 reply	other threads:[~2004-10-22 13:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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