Sudo installation failure

Thread Tools Search this Thread
Operating Systems HP-UX Sudo installation failure
# 1  
Old 11-20-2013
Sudo installation failure

Dear Guru,

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-  sudo-ldap-1.8.8.hppa.depot.g
libiconv-1.14-hppa-11.11.depot     zlib-1.2.8-hppa-11.11.depot

# which sudo
no sudo in /usr/sbin /usr/bin /usr/ccs/bin /usr/contrib/bin /opt/hparray/bin /op
t/nettladm/bin /opt/upgrade/bin /opt/fcms/bin /usr/bin/X11 /usr/contrib/bin/X11
/opt/pd/bin /opt/wbem/bin /opt/wbem/sbin /opt/resmon/bin /opt/firefox /opt/gnome
/bin /opt/mozilla /opt/graphics/common/bin /opt/hpsmh/bin /opt/perl_32/bin /opt/
perl_64/bin /usr/sbin/diag/contrib /opt/sfm/bin /opt/ssh/bin /opt/thunderbird /o
pt/gwlm/bin /opt/ignite/bin /opt/perf/bin /sbin /home/root

Last edited by Franklin52; 11-20-2013 at 03:03 AM.. Reason: Please use code tags
# 2  
Old 11-20-2013
Start by giving the ouput of
 swlist -l product |grep sudo

Was it an HP depot from a HP archive center?

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

Last edited by vbe; 11-20-2013 at 10:49 AM.. Reason: Typo + add
# 3  
Old 11-20-2013
hi vbe,

this the output :
# swlist -l product | grep sudo
  sudo                  1.8.8          sudo

in /usr/local/bin i can see sudo and sudoedit but still can not do visudo or manual sudo.

# man sudo
No manual entry for sudo.
# visudo
sh: visudo:  not found.

Last edited by Scott; 11-20-2013 at 10:43 PM.. Reason: Please use code tags
# 4  
Old 11-21-2013
Check your $PATH if it includes /usr/local/bin echo $PATH, or invoke the commands with full path like /usr/local/bin/sudo <your stuff>
# 5  
Old 11-21-2013

this is the output, whats wrong with my insttalation ?
# echo $PATH
# echo $/usr/local/bin/sudo

Last edited by Franklin52; 11-21-2013 at 09:36 AM.. Reason: Please use code tags
# 6  
Old 11-21-2013
Originally Posted by trisno

this is the output, whats wrong with my insttalation ?
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.
# 7  
Old 11-22-2013
You had it all explained in my first post ( #2 ..)...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Gamit installation error: showing Failure in make_gamit -- install_software terminated

what i should to do next? read full query first please!! harshbhu@harshbhu:/usr/local/gg/10.6/updates/Source$ sudo ./install_software sudo: unable to resolve host harshbhu install_software version 2017/06/29 GAMIT and GLOBK to be installed into /usr/local/gg/10.6/updates/Source If... (0 Replies)
Discussion started by: ankit lohar
0 Replies

2. Post Here to Contact Site Administrators and Moderators

EEM Installation failure

I am trying to install EEM on Linux but found with below issue 27 Sep 2013 01:10:41 INFO iGateway - Check if we can upgrade from Linux 2.4 to 2.6 installer 27 Sep 2013 01:10:41 INFO iGateway - iGateway components conf, Spin.conf] Please suggest, If any further information is required... (1 Reply)
Discussion started by: rakesh_411
1 Replies

3. SuSE

Wine Installation Failure

When I try to install wine either through yast or zypper it fails with below message: zypper in wine Refreshing service 'nu_novell_com'. Loading repository data... Reading installed packages... Resolving package dependencies... Problem: nothing provides needed by... (0 Replies)
Discussion started by: rupeshkp728
0 Replies

4. SuSE

Failure of Vmware Server 2 installation on SLES 11 SP2

Issue: I am trying to install Vmware Server 2(VMware-server-2.0.2-203138.x86_64) installation on SUSE Linux Enterprise Server 11 (x86_64) SP2 and it fails with error: None of the pre-built vmmon modules for VMware Server is suitable for your running kernel. Do you want this program to try... (3 Replies)
Discussion started by: rupeshkp728
3 Replies

5. Solaris

t2000 Sol10 installation failure

Hi folks, I've searched as much as possible with regards to the installation of Solaris 10 and this error that I keep getting no matter which arguments I use. sol-10-u9-ga-sparc-dvd.iso sc> showhost Sun-Fire-T2000 System Firmware 6.7.12 2011/07/06 20:03 Host flash versions: OBP... (3 Replies)
Discussion started by: dnetcrawler
3 Replies

6. Solaris

Solaris Re-installation failure

Hello Community. I had installed solaris 5.10 OS on an X86 server using a custom-jumpstart installation program and it was performed successfully. Due to some issues, i had to go for reinstallation using the same jumpstart but this time it failed giving below error. Starting Solaris... (1 Reply)
Discussion started by: mystition
1 Replies

7. UNIX for Dummies Questions & Answers

boot up failure unix sco after power failure

hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies

8. Shell Programming and Scripting

ssh sudo command - Prompts for sudo password as visible text. Help?

I am writing a BASH script to update a webserver and then restart Apache. It looks basically like this: #!/bin/bash rsync /path/on/local/machine/ ssh sudo /etc/init.d/apache2 reloadrsync and ssh don't prompt for a password, because I have DSA encryption... (9 Replies)
Discussion started by: fluoborate
9 Replies

9. UNIX for Dummies Questions & Answers

Unable to use the Sudo command. "0509-130 Symbol resolution failed for sudo because:"

Hi! I'm very new to unix, so please keep that in mind with the level of language used if you choose to help :D Thanks! When attempting to use sudo on and AIX machine with oslevel, I get the following error: exec(): 0509-036 Cannot load program sudo because of the following errors:... (1 Reply)
Discussion started by: Chloe123
1 Replies

10. OS X (Apple)

GRUB Error and Installation Failure

...I haven't been here in along time! Anyways, I didn't know where I should put this, as this involves practically three OSes, so if this is in the wrong place, feel free to move it. Recently, I thought about this: installing OpenSUSE 10.1 on my Mac Mini's (Intel Core Duo) external hard... (0 Replies)
Discussion started by: Danny_10
0 Replies
Login or Register to Ask a Question