Bug 23071 - wtmp entry not rolled over after logrotate
wtmp entry not rolled over after logrotate
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: logrotate (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Erik Troan
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-01-01 08:24 EST by Yoda
Modified: 2007-04-18 12:30 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-01-01 08:24:13 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Yoda 2001-01-01 08:24:11 EST
As an aside I removed the wtmp patch from pppd to enable utmp entries of ppp users.  Why is this disabled by default?

I would expect that when you rotate the wtmp file each month you would want the users who are "still logged in" to be transfered into the new wtmp file.

I would guess that the best way to do this is to effectively log them out of the old wtmp.1 and log them back into the new wtmp file.

This is very important for accounting purposes.

I would like to know your thoughts on this issue.

Thanks

Grahame Jordan
Comment 1 Preston Brown 2001-06-21 15:59:28 EDT
Users know that the user login record (wtmp) gets rotated monthly.  the "last" 
command can take a file to examine on the command line, so running last -f 
/var/log/wtmp.1 is possible to get around the issue you have raised.

Note You need to log in before you can comment on or make changes to this bug.