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 Subject: Re: Finding out login history To: cygwin AT cygwin DOT com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/