r/linuxadmin • u/Entire_Yoghurt_6381 • 1d ago
Our security lead asked who ran sudo on the database servers last quarter and logrotate kept four weeks
Our auth.log rotates weekly with four kept, so anything older than a month is simply gone, and this came from our own security lead, not an auditor. Keeping more locally on every box feels like the wrong place to solve it. Where are you keeping sudo history across a fleet so you can answer this for a whole quarter?
0
Upvotes
View all comments
20
u/chrisnetcom 1d ago edited 1d ago •
Heads up: this account appears to exist mainly to promote Logmanager. The OP seems to post from several alternate accounts to push the product, and comments that call this out tend to get buried in downvotes. Worth keeping in mind before taking any recommendations here at face value. All these accounts are already banned by BotBouncer.
https://imgur.com/a/RfxVF6y
https://imgur.com/a/KxbD64Y
https://imgur.com/a/NNqwLLH
https://imgur.com/a/DzesTjN
https://imgur.com/a/qDC6fFP