summaryrefslogtreecommitdiff
path: root/man/sv/man5/porttime.5
blob: 27af51363096e2d6b72466cabf47c49195115716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
'\" t
.\"     Title: porttime
.\"    Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 25-05-2012
.\"    Manual: Filformat och konversioner
.\"    Source: shadow-utils 4.1.5.1
.\"  Language: Swedish
.\"
.TH "PORTTIME" "5" "25-05-2012" "shadow\-utils 4\&.1\&.5\&.1" "Filformat och konversioner"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAMN"
porttime \- port access time file
.SH "BESKRIVNING"
.PP
\fIporttime\fR
inneh\(oaller en lista av tty\-enheter, anv\(:andarnamn och till\(oatna inloggningstider\&.
.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
Each access time entry consists of zero or more days of the week, abbreviated
\fISu\fR,
\fIMo\fR,
\fITu\fR,
\fIWe\fR,
\fITh\fR,
\fIFr\fR, and
\fISa\fR, followed by a pair of times separated by a hyphen\&. The abbreviation
\fIWk\fR
may be used to represent Monday thru Friday, and
\fIAl\fR
may be used to indicate every day\&. If no days are given,
\fIAl\fR
is assumed\&.
.SH "EXEMPEL"
.PP
F\(:oljande post till\(oater \(oatkomst f\(:or anv\(:andaren
\fBjfh\fR
p\(oa varje port under veckodagar fr\(oan 09\&.00 till 17\&.00\&.
.PP
*:jfh:Wk0900\-1700
.PP
De f\(:oljande posterna till\(oater \(oatkomst endast till anv\(:andarna
\fIroot\fR
och
\fIoper\fR
p\(oa
/dev/console
n\(:ar som helst\&. Detta illustrerar hur filen
/etc/porttime
\(:ar en ordnad lista f\(:or \(oatkomsttider\&. Alla andra anv\(:andare skulle matcha den andra poster, vilken inte till\(oater n\(oagon \(oatkomst oavsett tid\&.
.sp
.if n \{\
.RS 4
.\}
.nf
      console:root,oper:Al0000\-2400
      console:*:
    
.fi
.if n \{\
.RE
.\}
.PP
F\(:olajnde post till\(oater \(oatkomst f\(:or anv\(:andaren
\fIgames\fR
p\(oa valfri port men inte under arbetstid\&.
.PP
*:games:Wk1700\-0900,SaSu0000\-2400
.SH "FILER"
.PP
/etc/porttime
.RS 4
Fil som inneh\(oaller port\(oatkomst
.RE
.SH "SE OCKS\(oA"
.PP
\fBlogin\fR(1)\&.