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

1 Answer 1

I've implemented something better than sudosh.


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

share|improve this answer

Your Answer


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.