2007-10-07 17:16:52 +05:30
. \" ** You probably do not want to edit this file directly **
2007-10-07 17:17:01 +05:30
. \" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
2007-10-07 17:16:52 +05:30
. \" Instead of manually editing it, you probably should edit the DocBook XML
. \" source for it and then use the DocBook XSL Stylesheets to regenerate it.
2007-10-07 17:17:01 +05:30
.TH "PORTTIME" "5" "10/01/2005" "" ""
2007-10-07 17:16:52 +05:30
. \" disable hyphenation
.nh
. \" disable justification (adjust text to left margin only)
.ad l
.SH "NAME"
2007-10-07 17:14:44 +05:30
porttime \- port access time file
2007-10-07 17:16:52 +05:30
.SH "DESCRIPTION"
2007-10-07 17:14:44 +05:30
.PP
2007-10-07 17:17:01 +05:30
\fI porttime\fR
2007-10-07 17:16:52 +05:30
contains a list of tty devices, user names, and permitted login times.
.PP
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.
.PP
2007-10-07 17:17:01 +05:30
Each access time entry consists of zero or more days of the week, abbreviated
\fI Su\fR ,
\fI Mo\fR ,
\fI Tu\fR ,
\fI We\fR ,
\fI Th\fR ,
\fI Fr\fR , and
\fI Sa\fR , followed by a pair of times separated by a hyphen. The abbreviation
\fI Wk\fR
may be used to represent Monday thru Friday, and
\fI Al\fR
may be used to indicate every day. If no days are given,
\fI Al\fR
2007-10-07 17:16:52 +05:30
is assumed.
.SH "EXAMPLES"
.PP
2007-10-07 17:17:01 +05:30
The following entry allows access to user
\fI jfh\fR
2007-10-07 17:16:52 +05:30
on every port during weekdays from 9am to 5pm.
.PP
*:jfh:Wk0900\- 1700
.PP
2007-10-07 17:17:01 +05:30
The following entries allow access only to the users
\fI root\fR
and
\fI oper\fR
on
\fI /dev/console\fR
at any time. This illustrates how the
\fI /etc/porttime\fR
2007-10-07 17:16:52 +05:30
file is an ordered list of access times. Any other user would match the second entry which does not permit access at any time.
.PP
2007-10-07 17:17:01 +05:30
console:root,oper:Al0000\- 2400 console:*:
2007-10-07 17:16:52 +05:30
.PP
2007-10-07 17:17:01 +05:30
The following entry allows access for the user
\fI games\fR
2007-10-07 17:16:52 +05:30
on any port during non\- working hours.
.PP
*:games:Wk1700\- 0900,SaSu0000\- 2400
.SH "FILES"
.TP
\fI /etc/porttime\fR
file containing port access
.SH "SEE ALSO"
.PP
2007-10-07 17:17:01 +05:30
\fB login\fR (1).
2007-10-07 17:16:52 +05:30
.SH "AUTHOR"
2007-10-07 17:14:44 +05:30
.PP
Julianne Frances Haugh (jockgrrl@ix.netcom.com)