Article 5D16R I want to invoke the rootsh also when the regular user uses

I want to invoke the rootsh also when the regular user uses

by
pkulkarni
from LinuxQuestions.org on (#5D16R)
Now, I installed rootsh on a test server and it works fine when called the normal way (sudo rootsh). However I want to invoke the rootsh also when the regular user uses.

I want since that non-root user is used for normal day to day activity. I just want to redirect all possible instances of su (sudo su -, sudo su, su - and su) redirected to rootsh, so that when that users changes to root, his activities are logged.latest?d=yIl2AUoC8zA latest?i=bC35HYEkUOQ:fWR6kgxEIrA:F7zBnMy latest?i=bC35HYEkUOQ:fWR6kgxEIrA:V_sGLiP latest?d=qj6IDK7rITs latest?i=bC35HYEkUOQ:fWR6kgxEIrA:gIN9vFwbC35HYEkUOQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments