PORTTIME(5)

NAME
porttime - port access time file

DESCRIPTION

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.

EXAMPLES

The following entry allows access to user jfh on every port during weekdays from 9am to 5pm.

*:jfh:Wk0900-1700

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.

          console:root,oper:Al0000-2400
          console:*:

The following entry allows access for the user games on any port during non-working hours.

*:games:Wk1700-0900,SaSu0000-2400

FILES

/etc/porttime
    File containing port access.

SEE ALSO

login(1).