Which libraries or programs write to /var/log/wtmp ?

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Sep 29 10:09:00 GMT 2005


On Sep 29 09:16, Jurgen Defurne wrote:
> That is why I am trying to find out by which programs
> this writing to wtmp can be caused.

wtmp is written by all applications calling login(3), logout(3),
logwtmp(3) or updwtmp(3).  These are usually login processes like
login, started from telnet, or sshd.

Just do the same what other systems do, gzip wtmp and create a new,
empty wtmp regulary.  Or shrink it to 0 of you're not interested
in keeping the information.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat, Inc.

--
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/



More information about the Cygwin mailing list