2007-10-07 17:16:07 +05:30
|
|
|
|
.\" $Id: porttime.5,v 1.4 2005/04/05 18:47:51 kloczek Exp $
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.\" Copyright 1989 - 1990, Julianne Frances Haugh
|
|
|
|
|
.\" All rights reserved.
|
|
|
|
|
.\"
|
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
|
.\" are met:
|
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
|
.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors
|
|
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
|
.\"
|
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE
|
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
|
.TH PORTTIME 5
|
|
|
|
|
.SH NAZWA
|
|
|
|
|
porttime \- plik czas<61>w dost<73>pu do port<72>w
|
|
|
|
|
.SH OPIS
|
|
|
|
|
.I porttime
|
|
|
|
|
zawiera list<73> urz<72>dze<7A> tty, nazw u<>ytkownik<69>w i dozwolonych czas<61>w logowania.
|
|
|
|
|
.PP
|
|
|
|
|
Ka<EFBFBD>da pozycja sk<73>ada si<73> z trzech, rozdzielonych dwukropkiem, p<>l.
|
|
|
|
|
Pierwsze pole zawiera list<73> oddzielonych przecinkami urz<72>dze<7A> tty lub
|
|
|
|
|
gwiazdk<EFBFBD>, wskazuj<75>c<EFBFBD>, <20>e pozycja ta pasuje do wszystkich urz<72>dze<7A> tty.
|
|
|
|
|
Drugie pole zawiera list<73> oddzielonych przecinkami nazw u<>ytkownik<69>w lub
|
|
|
|
|
gwiazdk<EFBFBD>, wskazuj<75>c<EFBFBD>, <20>e pozycja dotyczy wszystkich u<>ytkownik<69>w.
|
|
|
|
|
Trzecie pole jest list<73> oddzielonych przecinkami dozwolonych czas<61>w dost<73>pu.
|
|
|
|
|
.PP
|
|
|
|
|
Ka<EFBFBD>da pozycja czasu dost<73>pu sk<73>ada si<73> z zera lub wi<77>cej dni tygodnia,
|
|
|
|
|
skr<EFBFBD>conych do \fBSu\fR, \fBMo\fR, \fBTu\fR, \fBWe\fR, \fBTh\fR, \fBFr\fR
|
|
|
|
|
i \fBSa\fR, po kt<6B>rych nast<73>puje para rozdzielonych my<6D>lnikiem czas<61>w.
|
|
|
|
|
Do okre<72>lenia dni roboczych (od poniedzia<69>ku do pi<70>tku) mo<6D>e by<62> u<>yty
|
|
|
|
|
skr<EFBFBD>t \fBWk\fR. Skr<6B>t \fBAl\fR oznacza ka<6B>dy dzie<69>. Je<4A>eli nie podano dni
|
|
|
|
|
tygodnia przyjmowane jest \fBAl\fR.
|
|
|
|
|
.SH PRZYK<EFBFBD>ADY
|
|
|
|
|
Poni<EFBFBD>szy wpis zezwala u<>ytkownikowi \fBjfh\fR na dost<73>p do ka<6B>dego portu
|
2007-10-07 17:16:07 +05:30
|
|
|
|
w dni robocze od godziny 9\-tej do 17\-tej.
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.br
|
|
|
|
|
.sp 1
|
2007-10-07 17:16:07 +05:30
|
|
|
|
*:jfh:Wk0900\-1700
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.br
|
|
|
|
|
.sp 1
|
|
|
|
|
Poni<EFBFBD>sze pozycje pozwalaj<61> na dost<73>p do konsoli (/dev/console) wy<77><79>cznie
|
2007-10-07 17:16:07 +05:30
|
|
|
|
u<EFBFBD>ytkownikom \fBroot\fR i \fBoper\fR \- w dowolnym czasie.
|
2007-10-07 17:14:44 +05:30
|
|
|
|
Przyk<EFBFBD>ad ten pokazuje, <20>e plik \fI/etc/porttime\fR stanowi uporz<72>dkowan<61>
|
|
|
|
|
list<EFBFBD> czas<61>w dost<73>pu. Ka<4B>dy inny u<>ytkownik b<>dzie pasowa<77> do drugiej pozycji
|
|
|
|
|
listy, nie zezwalaj<61>cej na dost<73>p w <20>adnym czasie.
|
|
|
|
|
.br
|
|
|
|
|
.sp 1
|
2007-10-07 17:16:07 +05:30
|
|
|
|
console:root,oper:Al0000\-2400
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.br
|
|
|
|
|
console:*:
|
|
|
|
|
.br
|
|
|
|
|
.sp 1
|
|
|
|
|
Poni<EFBFBD>szy wpis zezwala na dost<73>p do dowolnego portu u<>ytkownikowi \fBgames\fR
|
|
|
|
|
poza godzinami pracy.
|
|
|
|
|
.br
|
|
|
|
|
.sp 1
|
2007-10-07 17:16:07 +05:30
|
|
|
|
*:games:Wk1700\-0900,SaSu0000\-2400
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.br
|
|
|
|
|
.sp 1
|
|
|
|
|
.SH PLIKI
|
2007-10-07 17:16:07 +05:30
|
|
|
|
\fI/etc/porttime\fR \- plik zawieraj<61>cy czasy dost<73>pu do port<72>w
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH ZOBACZ TAK<EFBFBD>E
|
|
|
|
|
.BR login (1)
|
|
|
|
|
.SH AUTOR
|
|
|
|
|
Julianne Frances Haugh (jockgrrl@ix.netcom.com)
|