tizen 2.0
[external/shadow.git] / man / pl / porttime.5
1 '\" t
2 .\"     Title: porttime
3 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
5 .\"      Date: 07/24/2009
6 .\"    Manual: File Formats and Conversions
7 .\"    Source: File Formats and Conversions
8 .\"  Language: Polish
9 .\"
10 .TH "PORTTIME" "5" "07/24/2009" "File Formats and Conversions" "File Formats and Conversions"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
15 .nh
16 .\" disable justification (adjust text to left margin only)
17 .ad l
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
21 .SH "NAZWA"
22 porttime \- port access time file
23 .SH "OPIS"
24 .PP
25
26 \fIporttime\fR
27 contains a list of tty devices, user names, and permitted login times\&.
28 .PP
29 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\&.
30 .PP
31 Each access time entry consists of zero or more days of the week, abbreviated
32 \fISu\fR,
33 \fIMo\fR,
34 \fITu\fR,
35 \fIWe\fR,
36 \fITh\fR,
37 \fIFr\fR, and
38 \fISa\fR, followed by a pair of times separated by a hyphen\&. The abbreviation
39 \fIWk\fR
40 may be used to represent Monday thru Friday, and
41 \fIAl\fR
42 may be used to indicate every day\&. If no days are given,
43 \fIAl\fR
44 is assumed\&.
45 .SH "PRZYK\(/LADY"
46 .PP
47 The following entry allows access to user
48 \fBjfh\fR
49 on every port during weekdays from 9am to 5pm\&.
50 .PP
51 *:jfh:Wk0900\-1700
52 .PP
53 The following entries allow access only to the users
54 \fIroot\fR
55 and
56 \fIoper\fR
57 on
58 /dev/console
59 at any time\&. This illustrates how the
60 /etc/porttime
61 file is an ordered list of access times\&. Any other user would match the second entry which does not permit access at any time\&.
62 .sp
63 .if n \{\
64 .RS 4
65 .\}
66 .nf
67       console:root,oper:Al0000\-2400
68       console:*:
69     
70 .fi
71 .if n \{\
72 .RE
73 .\}
74 .PP
75 The following entry allows access for the user
76 \fIgames\fR
77 on any port during non\-working hours\&.
78 .PP
79 *:games:Wk1700\-0900,SaSu0000\-2400
80 .SH "PLIKI"
81 .PP
82 /etc/porttime
83 .RS 4
84 File containing port access\&.
85 .RE
86 .SH "ZOBACZ TAKÅ»E"
87 .PP
88 \fBlogin\fR(1)\&.