Creating a login shell using sudoshell
Hi,
I've just finished installing sudoshell for some of the more important server. We're using the combination of sudo with sudoshell, so we can audit everything a user is doing when opening a shell as root or oracle.
My question is....
Is there a way to use sudoshell as the default login shell. I would like to force all users loging into the server with there username to automatically start the shell using susoshell.
I've thought about putting the "/bin/sudo /usr/bin/sudoshell -u $USER -" in to the local ~/.profile of each user, but would love to just change the the default login shell.
|