2007-10-07 17:16:07 +05:30
|
|
|
|
.\" $Id: sulogin.8,v 1.7 2005/04/05 18:47:51 kloczek Exp $
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.\" Copyright 1989 - 1992, 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 SULOGIN 8
|
|
|
|
|
.SH NAZWA
|
2007-10-07 17:16:07 +05:30
|
|
|
|
sulogin \- login w trybie jednou<6F>ytkownikowym
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH SK<EFBFBD>ADNIA
|
2007-10-07 17:16:07 +05:30
|
|
|
|
\fBsulogin\fR [\fIurz<EFBFBD>dzenie\-tty\fR]
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH OPIS
|
|
|
|
|
.B sulogin
|
|
|
|
|
wywo<EFBFBD>ywane jest przez \fBinit\fR przed zezwoleniem u<>ytkownikowi
|
|
|
|
|
na dost<73>p do systemu w trybie jednou<6F>ytkownikowym (single user mode).
|
|
|
|
|
Funkcja ta mo<6D>e by<62> dost<73>pna tylko w niekt<6B>rych systemach, w kt<6B>rych
|
|
|
|
|
odpowiednio zmieniono \fBinit\fR lub plik \fB/etc/inittab\fR posiada
|
|
|
|
|
pozycj<EFBFBD> dla logowania si<73> w trybie jednou<6F>ytkownikowym.
|
|
|
|
|
.PP
|
|
|
|
|
Wy<EFBFBD>wietlany jest symbol zach<63>ty
|
|
|
|
|
.IP "" .5i
|
2007-10-07 17:16:07 +05:30
|
|
|
|
Type control\-d to proceed with normal startup,
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.br
|
|
|
|
|
(or give root password for system maintenance):
|
|
|
|
|
.br
|
2007-10-07 17:16:07 +05:30
|
|
|
|
Naci<EFBFBD>nij control\-d by kontynuowa<77> zwyk<79>y start,
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.br
|
|
|
|
|
(lub podaj has<61>o u<>ytkownika root do konserwacji systemu):
|
|
|
|
|
.PP
|
|
|
|
|
Wej<EFBFBD>cie i wyj<79>cie b<>d<EFBFBD> obs<62>ugiwane przy u<>yciu standardowych deskryptor<6F>w
|
2007-10-07 17:16:07 +05:30
|
|
|
|
plik<EFBFBD>w, chyba <20>e u<>yto opcjonalnego argumentu \- nazwy urz<72>dzenia.
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.PP
|
|
|
|
|
Je<EFBFBD>li u<>ytkownik wprowadzi poprawne has<61>o superu<72>ytkownika root,
|
|
|
|
|
to rozpoczynana jest sesja pracy na koncie root.
|
|
|
|
|
Je<EFBFBD>eli natomiast naci<63>ni<6E>to \fBEOF\fR, to system przechodzi
|
|
|
|
|
do wielou<6F>ytkownikowego trybu pracy.
|
|
|
|
|
.PP
|
|
|
|
|
Po opuszczeniu przez u<>ytkownika pow<6F>oki przypisanej do
|
|
|
|
|
jednou<EFBFBD>ytkownikowego trybu pracy lub po naci<63>ni<6E>ciu \fBEOF\fR, system
|
|
|
|
|
wykonuje proces inicjacji wymagany do przej<65>cia w tryb wielou<6F>ytkownikowy.
|
|
|
|
|
.SH OSTRZE<EFBFBD>ENIA
|
|
|
|
|
.PP
|
|
|
|
|
Polecenie to mo<6D>e by<62> u<>ywane wy<77><79>cznie wtedy, gdy \fBinit\fR zosta<74> zmieniony
|
|
|
|
|
tak, by wywo<77>ywa<77> \fBsulogin\fR zamiast \fB/bin/sh\fR,
|
|
|
|
|
albo gdy u<>ytkownik skonfigurowa<77> plik \fIinittab\fR tak, by obs<62>ugiwa<77>
|
|
|
|
|
logowanie w trybie jednou<6F>ytkownikowym.
|
|
|
|
|
Na przyk<79>ad, wiersz
|
|
|
|
|
.br
|
|
|
|
|
.sp 1
|
|
|
|
|
co:s:respawn:/etc/sulogin /dev/console
|
|
|
|
|
.br
|
|
|
|
|
.sp 1
|
|
|
|
|
powinien wykona<6E> polecenie sulogin w trybie jednou<6F>ytkownikowym.
|
|
|
|
|
.PP
|
|
|
|
|
Na ile jest to mo<6D>liwe, tworzone jest pe<70>ne <20>rodowisko.
|
|
|
|
|
Jednak<EFBFBD>e w efekcie mog<6F> nie by<62> do<64><6F>czone czy zainicjowane r<><72>ne
|
|
|
|
|
urz<EFBFBD>dzenia, za<7A> wiele polece<63> u<>ytkownika mo<6D>e by<62> niedost<73>pnych lub
|
|
|
|
|
nie funkcjonowa<77>.
|
|
|
|
|
.SH PLIKI
|
2007-10-07 17:16:07 +05:30
|
|
|
|
.IR /etc/passwd " \- informacja o kontach u<>ytkownik<69>w"
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.br
|
2007-10-07 17:16:07 +05:30
|
|
|
|
.IR /etc/shadow " \- zakodowane has<61>a i informacja o ich wa<77>no<6E>ci"
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH ZOBACZ TAK<EFBFBD>E
|
|
|
|
|
.BR login (1),
|
2007-10-07 17:15:14 +05:30
|
|
|
|
.BR sh (1),
|
|
|
|
|
.BR init (8)
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH AUTOR
|
|
|
|
|
Julianne Frances Haugh (jockgrrl@ix.netcom.com)
|