Operating System - HP-UX
1748128 Members
3468 Online
108758 Solutions
New Discussion юеВ

Re: HPUX 11.0: Installing sudo-1.6.7p5-sd-11.00.depot Error

 
SOLVED
Go to solution
LG Porter
Frequent Advisor

HPUX 11.0: Installing sudo-1.6.7p5-sd-11.00.depot Error

I have recently been installing the sudo-1.6.7p5-sd-11.00.depot on several HPUX 11.0 servers. During the installation, I recieve the following message:
Beginning the Install Execution Phase.
* Filesets: 1
* Files: 13
* Kbytes: 382
ERROR: Unknown owner and/or group for file "/usr/local/bin/sudo".
ERROR: Unknown owner and/or group for file "/usr/local/bin/sudo".
SUID and/or SGID bit was not set.
ERROR
ERROR: Corrupt sudo.sudo-RUN,r=1.6.7p5
ERRROR: 1 of 1 filesets had Errors.

I have download the sudo-1.6.7p5-sd-11.00.depot several times from the http://hpux.cs.utah.edu and still get the same error that the file set is corrupt after installing? Is this none problem? If so, what is the resolution? Thanks

12 REPLIES 12
RAC_1
Honored Contributor
Solution

Re: HPUX 11.0: Installing sudo-1.6.7p5-sd-11.00.depot Error

May be a corrupt depot file.

Download it from http://hpux.connect.org.uk/

Anil
There is no substitute to HARDWORK
Sridhar Bhaskarla
Honored Contributor

Re: HPUX 11.0: Installing sudo-1.6.7p5-sd-11.00.depot Error

Hi,

I believe this package is not quite right. I looked at the INFO files and the corresponding permissions on the sudo.

path /usr/local/bin/sudo
type f
size 114688
cksum 3506679356
mode 04111
uid 0
gid 0

'sudo' should have a permission of 4111 (--s--x--x) but the file has only --x--x--x)

---x--x--x 114688 Oct 15 04:58 2003 sudo/sudo-RUN/usr/local/bin/sudo

If you change the permissions, it will work but your 'swlist' may show it as corrupted. To fix it do

swmodify -a state=configured sudo

-Sri


You may be disappointed if you fail, but you are doomed if you don't try
LG Porter
Frequent Advisor

Re: HPUX 11.0: Installing sudo-1.6.7p5-sd-11.00.depot Error

I tried going to the http://hpux.connect.org.uk/ and download the sudo-1.6.7p5-sd-11.00.depot downloading the file again. Same error messages.....I used swremove and removed the previous version. Reinstalled and still got the same errors.
Sridhar Bhaskarla
Honored Contributor

Re: HPUX 11.0: Installing sudo-1.6.7p5-sd-11.00.depot Error

Hi,

These are all mirrors. So, I don't think there will be much difference. Looks like either the binary that was already packaged got replaced or the configure script is missing. You can change the permissions to root:root with permisssion ---s--x--x (chmod 4111 sudo).

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Michael Denney
Valued Contributor

Re: HPUX 11.0: Installing sudo-1.6.7p5-sd-11.00.depot Error

Could try compiling for 11.00 from source:

http://www.sudo.ws/dist/


If you were running 11.11, HP bundles sudo with thier Internet Express bundle for 11.11.

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111

Another reason to upgrade...
LG Porter
Frequent Advisor

Re: HPUX 11.0: Installing sudo-1.6.7p5-sd-11.00.depot Error

I also attempted to manually execute the "swmodify -a state=configured sudo" but the swlist is still showing corrupt state. I would if the sudo package needs to be rebundled?
Steven E. Protter
Exalted Contributor

Re: HPUX 11.0: Installing sudo-1.6.7p5-sd-11.00.depot Error

That is a depot error on all releases. Its not serious. Just set suid on the file its complaining about and if you are anal, reinstall the depot. It willbe fine from that point forward.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sridhar Bhaskarla
Honored Contributor

Re: HPUX 11.0: Installing sudo-1.6.7p5-sd-11.00.depot Error

The swmodify command was only an example. Try

swmodify -a state=configured sudo.sudo-RUN

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Bill Hassell
Honored Contributor

Re: HPUX 11.0: Installing sudo-1.6.7p5-sd-11.00.depot Error

This is simply a packaging error at the software porting centre. cd to the depot directory and edit the INFO file as mentioned so that owner is root not 0, and group is also root, not 0. It has been broken for a long time but it is not the sudo code, it's the packaging. Now reinstall sudo and it will work fine.


Bill Hassell, sysadmin