Hi Troy,
> That's fine and dandy for new install's of S.L. 4.2, but what about people
> who already have these huge files.
> That ... I'm still looking at to correct way to do.
> If someone knows the right way to remove a user from lastlog, I wouldn't mind
> hearing.
I don't know whether there's a right way. But something like
dd if=/var/log/lastlog of=lltmp bs=292 count=65000
cp --sparse=always lltmp /var/log/lastlog
should do (292 seems to be the record size of the lastlog file; change
count to whatever it takes to accommodate the highest uid). Any better
ideas?
BTW, SL3 has the same problem.
Cheers,
Stephan
--
----------------------------------------------------
| Stephan Wiesand | |
| | |
| DESY - DV - | phone +49 33762 7 7370 |
| Platanenallee 6 | fax +49 33762 7 7216 |
| 15738 Zeuthen | |
| Germany | |
----------------------------------------------------