OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / shadow / draft / man8 / lastlog.8
1 .\"$Id: lastlog.8,v 1.10 2001/01/27 02:55:52 kloczek Exp $
2 .\" Copyright 1992, Phillip Street and Julianne Frances Haugh
3 .\" All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\"    notice, this list of conditions and the following disclaimer in the
12 .\"    documentation and/or other materials provided with the distribution.
13 .\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors
14 .\"    may be used to endorse or promote products derived from this software
15 .\"    without specific prior written permission.
16 .\"
17 .\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND
18 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 .\" ARE DISCLAIMED.  IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE
21 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 .\" SUCH DAMAGE.
28 .\"     @(#)lastlog.8   3.3     08:24:58        29 Sep 1993 (National Guard Release)
29 .\"
30 .\" Japanese Version Copyright (c) 1997 Kazuyoshi Furutaka
31 .\"         all rights reserved.
32 .\" Translated Fri Feb 14 23:06:00 JST 1997
33 .\"         by Kazuyoshi Furutaka <furutaka@Flux.tokai.jaeri.go.jp>
34 .\" Updated & Modified Thu Oct 14 1997 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
35 .\" Updated Fri Jan 12 2001 by Kentaro Shirakata <argrath@ub32.org>
36 .\" Updated Mon Mar  4 2002 by kentaro Shirakata <argrath@ub32.org>
37 .\" Modified Sat 21 Sep 2002 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
38 .\"
39 .TH LASTLOG 8
40 .\"O .SH NAME
41 .SH Ì¾Á°
42 .\"O lastlog \- examine lastlog file
43 lastlog \- lastlog ¥Õ¥¡¥¤¥ë¤òÄ´¤Ù¤ë
44 .\"O .SH SYNOPSIS
45 .SH ½ñ¼°
46 .\"O .TP 8
47 \fBlastlog\fR [<\fB-u\fR|\fB--user\fR> \fIlogin-name\fR]
48 [<\fB-t\fR|\fB--time\fR> \fIdays\fR] [<\fB-h\fR|\fB--help\fR>]
49 .\"O .SH DESCRIPTION
50 .SH ÀâÌÀ
51 .\"O .PP
52 .\"O \fBlastlog\fR formats and prints the contents of the last login log
53 .\"O \fI/var/log/lastlog\fR file . The \fBlogin-name\fR, \fBport\fR, and \fBlast
54 .\"O login time\fR will be printed. The default (no flags) causes lastlog entries
55 .\"O to be printed, sorted by the numerical UID.
56 \fBlastlog\fR ¤ÏºÇ½ª¥í¥°¥¤¥ó¤Îµ­Ï¿¥Õ¥¡¥¤¥ë
57 \fI/var/log/lastlog\fR ¤ÎÆâÍƤòÀ°·Á¤·¤Æɽ¼¨¤¹¤ë¡£
58 \fB¥í¥°¥¤¥ó̾\fR¡¦\fB¥Ý¡¼¥È\fR¡¦\fBºÇ½ª¥í¥°¥¤¥ó»þ¹ï\fR¡¢¤¬É½¼¨¤µ¤ì¤ë¡£
59 ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤«¤Ã¤¿¾ì¹ç¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï
60 lastlog ¥¨¥ó¥È¥ê¤ò UID ¤Î¿ôÃͤǥ½¡¼¥È¤·¤Æɽ¼¨¤¹¤ë¡£
61 .TP
62 .\"O \fB-u\fR, \fB--user\fR \fIlogin-name\fR will cause the lastlog record for
63 .\"O \fIlogin-name\fR only to be printed
64 \fB-u\fR, \fB--user\fR \fIlogin-name\fR
65 \fIlogin-name\fR ¤Îµ­Ï¿¤À¤±¤òɽ¼¨¤¹¤ë¡£
66 .TP
67 .\"O \fB-t\fR, \fB--time\fR \fIdays\fR will cause only the lastlogins more recent
68 .\"O \than fIdays\fR to be printed
69 \fB-t\fR, \fB--time\fR \fIdays\fR
70 ºÇ¶á \fIdays\fR Æü°ÊÆâ¤ÎºÇ½ª¥í¥°¥¤¥ó¤òɽ¼¨¤¹¤ë¡£
71 .TP
72 .\"O \fB-h\fR, \fB--help\fR print a one-line help message and exit.
73 \fB-h\fR, \fB--help\fR
74 ¥ª¥ó¥é¥¤¥ó¥Ø¥ë¥×¤òɽ¼¨¤·¤Æ½ªÎ»¤¹¤ë¡£
75 .\"O .BR
76 .\"O .TP
77 .PP
78 .\"O The \fB-t\fR flag overrides the use of \fB-u\fR.
79 \fB-u\fR ¥Õ¥é¥°¤òÍѤ¤¤ë¤È \fB-t\fR ¤Ï̵»ë¤µ¤ì¤ë¡£
80 .\"nakano ¤È¤¤¤¦¤Î¤¬¼ÂºÝ¤ÎÆ°ºî¤Î¤è¤¦¤Ë¸«¤¨¤ë¤Î¤À¤¬¡£
81 .PP
82 .\"O If the user has never logged in the message \fB"**Never logged in**"\fR will
83 .\"O be displayed instead of the port and time.
84 °ìÅÙ¤â¥í¥°¥¤¥ó¤·¤Æ¤¤¤Ê¤¤¥æ¡¼¥¶¤ËÂФ·¤Æ¤Ï¡¢
85 ¥Ý¡¼¥È¤È»þ¹ï¤ÎÂå¤ï¤ê¤Ë
86 \fB"**Never logged in**"\fR
87 ¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¡£
88 .\"O .SH FILES
89 .SH ¥Õ¥¡¥¤¥ë
90 .\"O /var/log/lastlog \- lastlog logging file
91 /var/log/lastlog \- lastlog µ­Ï¿¥Õ¥¡¥¤¥ë
92 .\"O .SH CAVEATS
93 .SH ·Ù¹ð
94 .\"O Large gaps in uid numbers will cause the lastlog program to run longer with
95 .\"O no output to the screen (i.e. if mmdf=800 and last uid=170, program will
96 .\"O appear to hang as it processes uid 171-799).
97 UID ÈÖ¹æ¤ËÂ礭¤ÊÈô¤Ó¤¬¤¢¤ë¤È¡¢
98 lastlog ¥×¥í¥°¥é¥à¤ÏĹ»þ´Ö²èÌ̤˲¿¤â½ÐÎϤ·¤Ê¤¤¤Þ¤Þ
99 ¼Â¹Ô¤ò³¤±¤ë (Î㤨¤Ð mmdf ¤¬ 800 ¤ÇºÇ¸å¤Î UID ¤¬ 170 ¤Î¾ì¹ç¡¢
100 UID ¤¬ 171-799 ¤Î´Ö¥×¥í¥°¥é¥à¤Ï²¿¤â½ÐÎϤ·¤Ê¤¤¤Î¤Ç¡¢
101 ¥Ï¥ó¥°¤·¤¿¤è¤¦¤Ë¸«¤¨¤ë)¡£
102 .\"O .SH AUTHORS
103 .SH Ãø¼Ô
104 Julianne Frances Haugh (jockgrrl@ix.netcom.com)
105 .BR
106 Phillip Street