This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Which libraries or programs write to /var/log/wtmp ?
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/