SUMMARY: Restricting user login by time and day of week

From: LAWRIE SMITH <lawries_at_btinternet.com>
Date: Fri, 22 Oct 2004 14:06:12 +0100 (BST)

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
Received on Fri Oct 22 2004 - 13:08:05 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT