2007-10-07 17:16:07 +05:30
|
|
|
|
.\" $Id: lastlog.8,v 1.13 2005/04/05 18:47:51 kloczek Exp $
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.\" Copyright 1992, Phillip Street and 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.
|
|
|
|
|
.\"
|
|
|
|
|
.\" @(#)lastlog.8 3.3 08:24:58 29 Sep 1993 (National Guard Release)
|
|
|
|
|
.TH LASTLOG 8
|
|
|
|
|
.SH NAZWA
|
2007-10-07 17:15:58 +05:30
|
|
|
|
\fBlastlog\fR \- sprawd<77> plik ostatnich logowa<77> (lastlog)
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH SK<EFBFBD>ADNIA
|
2007-10-07 17:14:51 +05:30
|
|
|
|
.TP 8
|
2007-10-07 17:15:58 +05:30
|
|
|
|
\fBlastlog\fR [\fBopcje\fR]
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH OPIS
|
2007-10-07 17:14:51 +05:30
|
|
|
|
\fBlastlog\fR formatuje i wy<77>wietla zawarto<74><6F> dziennika ostatnich logowa<77>
|
|
|
|
|
zapisanych w pliku \fI/var/log/lastlog\fR. Wy<57>wietlone zostan<61> \fBnazwa
|
|
|
|
|
u<EFBFBD>ytkownika\fR, \fBport\fR i \fBczas ostatniego logowania\fR. Domy<6D>lnie (bez
|
2007-10-07 17:15:23 +05:30
|
|
|
|
flag) pozycje pliku wy<77>wietlane s<> w kolejno<6E>ci w jakiej s<> w pliku
|
|
|
|
|
\fB/etc/passwd\fR.
|
2007-10-07 17:15:49 +05:30
|
|
|
|
.SH OPCJE
|
2007-10-07 17:15:58 +05:30
|
|
|
|
Polecenie \fBlastlog\fR posiada nast<73>puj<75>ce opcje:
|
2007-10-07 17:16:07 +05:30
|
|
|
|
.IP "\fB\-h\fR, \fB\-\-help\fR"
|
2007-10-07 17:15:58 +05:30
|
|
|
|
Wy<EFBFBD>wietla kr<6B>tk<74> informacj<63> o tym jak u<>ywa<77> program i ko<6B>czy prac<61>.
|
2007-10-07 17:16:07 +05:30
|
|
|
|
.IP "\fB\-t\fR, \fB\-\-time\fR \fIDNI\fR"
|
2007-10-07 17:15:58 +05:30
|
|
|
|
Wy<EFBFBD>wietla tylko ostatnie logowania u<>ytkownik<69>w nie starsze ni<6E> zadana
|
|
|
|
|
ilo<EFBFBD><EFBFBD> \fIDNI\fR.
|
2007-10-07 17:16:07 +05:30
|
|
|
|
.IP "\fB\-u\fR, \fB\-\-user\fR \fILOGIN\fR"
|
2007-10-07 17:15:58 +05:30
|
|
|
|
Wy<EFBFBD>wietla tylko informacji o ostanim logowaniu u<>ytkownika \fILOGIN\fR.
|
2007-10-07 17:14:51 +05:30
|
|
|
|
.TP
|
2007-10-07 17:16:07 +05:30
|
|
|
|
Opcja \fB\-t\fR przes<65>ania u<>ycie opcji \fB\-u\fR.
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.PP
|
|
|
|
|
Je<EFBFBD>eli u<>ytkownik nigdy si<73> nie logowa<77> to zamiast portu i czasu logowania
|
|
|
|
|
zostanie wy<77>wietlony komunikat \fB"**Never logged in**"\fR (nigdy si<73> nie
|
|
|
|
|
logowa<EFBFBD>).
|
|
|
|
|
.SH PLIKI
|
2007-10-07 17:15:23 +05:30
|
|
|
|
\fI/var/log/lastlog\fR \- dziennik ostatnich logowa<77>
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH PRZESTROGI
|
|
|
|
|
Du<EFBFBD>e luki w numeracji UID powoduj<75>, <20>e program b<>dzie pracowa<77> d<>u<EFBFBD>ej, nie
|
|
|
|
|
wy<EFBFBD>wietlaj<EFBFBD>c wynik<69>w (np. je<6A>li mmdf=800, za<7A> ostatni uid=170, to program
|
2007-10-07 17:16:07 +05:30
|
|
|
|
b<EFBFBD>dzie sprawia<69> wra<72>enie zawieszonego w trakcie przetwarzania uid 171\-799).
|
2007-10-07 17:14:44 +05:30
|
|
|
|
.SH AUTORZY
|
|
|
|
|
Julianne Frances Haugh (jockgrrl@ix.netcom.com)
|
|
|
|
|
.br
|
|
|
|
|
Phillip Street
|