Re: gone - no logout

2009-02-01 Thread Russell Coker
On Mon, 2 Feb 2009, Peter Palfrader wrote: > Why not simply rotate based on log file size by default? This sounds like a good idea. The version of logrotate in Lenny even has a "size" option in it's config file format to support this. A default of 100M sounds reasonable. It's a pity that logr

Re: gone - no logout

2009-02-01 Thread Russell Coker
On Tue, 27 Jan 2009, Bernd Eckenfels wrote: > In article <200901271009.35031.russ...@coker.com.au> you wrote: > > Would it hurt to have a duplicate start entry in a wtmp file? If not > > then is there any reason not to duplicate the entries from sessions in > > progress from the wtmp.1 file to th

Re: gone - no logout

2009-01-26 Thread Bernd Eckenfels
In article <200901271009.35031.russ...@coker.com.au> you wrote: > Would it hurt to have a duplicate start entry in a wtmp file? If not then is > there any reason not to duplicate the entries from sessions in progress from > the wtmp.1 file to the wtmp file so that "last" will display all session

gone - no logout

2009-01-26 Thread Russell Coker
Currently if a user is logged in while logrotate renames the /var/log/wtmp file then the command "last -i -f /var/log/wtmp.1" will give a result such as the following: root pts/010.0.0.1 Fri Jan 16 13:17 gone - no logout Also the command "last -i&qu