Currently I am running a server on vnc with RHEL 7 operating system.
Background:
- I login to the server say
kpod@server1 - Now when I need to access root permissions. I use the path
/tools/xgs/bin/sudo su - - Instead of the full path, how can I get root access with only running command
sudo?
Note:
/etc/contains -sudoers.rpmsave/etc/doesn't containsudoers.d
How can I become root with running only sudo?
Edit: /tools/xgs/bin/sudo is the path where the sudopackage is stored.