SUMMARY: Restricting user login by time and day of week

From: LAWRIE SMITH (lawries@btinternet.com)
Date: Fri Oct 22 2004 - 09:06:12 EDT


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



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:10 EDT