[plug] repairs to /var/log/lastlog
Tony Breeds
magni at plug.linux.org.au
Tue May 20 10:34:53 WST 2003
On Tue, May 20, 2003 at 01:57:50AM -0000, Ambrose B Scafidi wrote:
> Does anyone have any idea how to fix a /var/log/lastlog ?
>
> I have a RH7.3 machine here where the file weighs in at 18meg and I think it
> needs to be trimmed somewhat. Prob is that it can not be deleted and then
> "touched up". Need something to rebuild it. Anyone have any ideas?
Umm I;m not exactly sure what you mean. I do:
---
cp -a lastlog lastlog.fred
> lastlog
# insert remainder of script here
---
Seem to work for me.
Yours Tony
Linux.Conf.AU http://lca2004.linux.org.au/
Jan 12-17 2004 The Australian Linux Technical Conference!
More information about the plug
mailing list