FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

LinkBack Thread Tools
Old 07-30-2010, 07:44 AM
Default regarding /var/log/wtmp and /var/log/utmp

Dear Members,

while using "logrotate" command, what do we mean by "GLOBAL OPTION", & "LOCAL OPTION".

And what would be the prospective answer to the following question ?

You wish to rotate all your logs weekly except for the/var/log/wtmp log which you wish to rotate monthly. How could youaccomplish this.
a. Assign a global option to rotate all logs weekly and a local option to rotate the /var/log/wtmp log monthly.
b. Assign a local option to rotate all logs weekly and a global option to rotate the /var/log/wtmp log monthly.
c. Move the /var/log/wtmp log to a different directory. Run logrotate against the new location.
d. Configure logrotate to not rotate the /var/log/wtmp log. Rotate it manually every month.



redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe

Thread Tools

All times are GMT. The time now is 01:21 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org