What is the default path of sudo
command? I checked in some Linux flavours and some solaris flavours, it is:
/usr/bin/sudo
If a Solaris machine is not bundled with sudo
, where will it get installed if we installed it by an external package?
I am developing a discovery script which is common for all Unix-based systems. It will get executed based on the uname command’s output.
To get the machine information without root user, I can create a session using sudo
command, for that I need the default path of the sudo
command.