I have sudo rights on a redhat box; once I've "sudo su -" to become root in a shell, are there any commands I can run to see what username I su'd FROM?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
The shell's parent process is
But you shouldn't be doing
|
|||
|
Run command
In bold "gladimdim" is the user which was initially logged to system. |
|||||||
|