vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| > >I have no idea how interesting people will find this, but this little diff > >- makes it possible to (de)activate accounting from rc.conf(8) like other > >services > >- modifies newsyslog.conf so that /var/log/wtmp is rotated every week (so > >that weekly ac(8) can run in sync with this file) > >- enables login accounting in /etc/weekly (accounting does _not_ have to > >be enabled for this) > >- updates ac(8) and weekly(8) accordingly > > Err, that was the wrong diff (old work copy with typo). > Here you go. I think this is a worthly addition. However, I think the rc.conf variable should be NO (by default), or the path to the accounting file, with "" to have accounting enabled with the default filename of /var/account/acct. This will need a few more lines of shell, but it's hardly a difficult task IMO. Miod |