porttime man page
porttime — port access time file
porttime contains a list of tty devices, user names, and permitted login times.
Each entry consists of three colon separated fields. The first field is a comma separated list of tty devices, or an asterisk to indicate that all tty devices are matched by this entry. The second field is a comma separated list of user names, or an asterisk to indicated that all user names are matched by this entry. The third field is a comma separated list of permitted access times.
Each access time entry consists of zero or more days of the week, abbreviated Su, Mo, Tu, We, Th, Fr, and Sa, followed by a pair of times separated by a hyphen. The abbreviation Wk may be used to represent Monday thru Friday, and Al may be used to indicate every day. If no days are given, Al is assumed.
The following entry allows access to user jfh on every port during weekdays from 9am to 5pm.
The following entries allow access only to the users root and oper on
/dev/console at any time. This illustrates how the
/etc/porttime file is an ordered list of access times. Any other user would match the second entry which does not permit access at any time.
The following entry allows access for the user games on any port during non-working hours.
- File containing port access.
Explore man page connections for porttime(5).