Operating System - HP-UX
1836611 Members
1854 Online
110102 Solutions
New Discussion

Can't find visudo after installation

 
SOLVED
Go to solution
Paul Maglinger
Regular Advisor

Can't find visudo after installation

Running HPUX 11.23. I have just finished downloading and installing sudo 1.6.8p12. The log says it was successful and swinstall shows sudo listed as installed, but when I try to run visudo (which should be part of the package) it comes back as not found. sudo returns the same message as well. Can someone provide some advice on what I could be missing here?
4 REPLIES 4
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: Can't find visudo after installation

Hi Paul,

add /usr/local/bin and /usr/localk/sbin to your PATH.

Regards,
Robert-Jan
Pete Randall
Outstanding Contributor

Re: Can't find visudo after installation

You probably need to add the install path of sudo to your PATH variable.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: Can't find visudo after installation

Hi Paul:

A common mistake following a product installation is to forget to logout and back in. Normally '/etc/PATH' is updated but until you login it is not read, parsed, and added to your environment when the login sequence reads '/etc/profile'.

Regards!

...JRF...
Paul Maglinger
Regular Advisor

Re: Can't find visudo after installation

I figured it was a PATH issue, but didn't know where the files were installed to. Adding /usr/local/bin and /usr/local/sbin to the PATH in the .profile fixed it. Thanks everyone.