| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 |
| X-Spam-Check-By: | sourceware.org |
| Date: | Tue, 27 Jan 2009 10:43:42 +0100 (CET) |
| From: | Marco Atzeri <marco_atzeri AT yahoo DOT it> |
| Subject: | Re: Finding out login history |
| To: | cygwin AT cygwin DOT com |
| In-Reply-To: | <loom.20090127T085005-568@post.gmane.org> |
| MIME-Version: | 1.0 |
| Message-ID: | <238299.75993.qm@web25006.mail.ukl.yahoo.com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
--- Ronald Fischer ha scritto:
> Marco Atzeri writes:
> OK, now I finally have 'last', there is a usage
> problem:
>
> mucn13154:~ 1 501 $ last
> last: /var/log/wtmp: No such file or directory
> Perhaps this file was removed by the operator to
> prevent logging last info.
> mucn13154:~ 1 503 $ ls -l /var/log
> total 6031
> -rw-r--r-- 1 fischron mkgroup-l-d 0 Dec 16
> 10:31 cron.log
> drwxrwxrwx+ 2 SYSTEM root 0 Jan 20
> 15:02 exim
> -rwxrwxrwx+ 1 fischron mkgroup-l-d 285562 Jan 20
> 15:08 setup.log
> -rwxrwxrwx+ 1 fischron mkgroup-l-d 5889080 Jan 20
> 15:08 setup.log.full
>
> Seems as if I am out of luck here....
>
>
> Ronald
>
RTFM
man last
NOTES
The files wtmp and btmp might not be found.
The system only logs infor-mation in these
files if they are present. This is a local
configura-tion issue. If you want the files to be
used, they can be created with a simple touch(1)
command (for example, touch /var/log/wtmp).
Cheers from NXP
Marco
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |