buellwinkle
Programmer
I'm trying to use sudo for DBAs to log into the oracle account for SOX reasons. It works where they can do "sudo -u oracle ksh" and their uid is now oracle but they are still in their own home directory, not oracle and it didn't run the .profile so they have to do a cd /home/oracle and then . ./.profile. So what I would like is to be able to do the same thing as su - oracle but do it with sudo. Also, is the logging done by sudo better than what's in the sulog?