Wednesday, 21 August 2013

what is the default path for sudo command

what is the default path for sudo command

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 it will 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.

No comments:

Post a Comment