Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using sudosh to ensure, among other things, that vendors who are given ssh access to my server can be held accountable for operations they perform on the server.

sudosh is recording the logs very well, but it saves the logs with write permissions for the user who is being recorded.

How can I prevent these logs from being deleted by that user?

share|improve this question
add comment

1 Answer

I've implemented something better than sudosh.

http://www.woitasen.com.ar/2011/11/auditing-user-actions-after-sudo/

This solution with Syslog works perfect to do what you want.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.