I want to install sudo in my HPUX 11.11 and i also already downloading the software from website sudo, and already install the depot using swinstall -c .... , after finish still can not find sudo . something wrong with my installation ? thank you
# ls
gettext-0.18.3.1-hppa-11.11.depot sudo-ldap-1.8.8.hppa.depot.g
libiconv-1.14-hppa-11.11.depot zlib-1.2.8-hppa-11.11.depot
sudo-1.8.8-hppa-11.11.depot
-
add
You should normally find it in /usr/local/bin - AND - /usr/local/bin is not inculded by default in the PATH on HP-UX, mostly fo security reasons so it is no reason to add it as standard to all... I use aliases... or add the PATH on command line when I need it...
Nothing is wrong. You simply don't have /usr/local/bin in your path. I don't either, on any of my servers. This is the default. To run an executable from a location not in your path, you have to specify the full path to that executable.
For example, instead of running 'sudo' or 'visudo' you need to run '/usr/local/bin/sudo' or '/usr/local/bin/visudo'
Alternatively, you can update your path variable and add the /usr/local/bin location to it.