1833832 Members
2522 Online
110063 Solutions
New Discussion

Re: sudo for 11.23

 
SOLVED
Go to solution
Bill Hassell
Honored Contributor

sudo for 11.23

I downloaded sudo from the HP IExpress and installed it but got the following error when running it as a standard user:

$ sudo pwd
usr/lib/dld.sl: Unresolved symbol: setegid (code) from sudo
Abort(coredump)

The same failure occurs if I reinstall the version from the HP-UX porting center. Both versions are 1.7.2p1

The sudo change log seems to indicate that setegid was changed to setgid in 1995 but then changed to a protected call in 6/2009 with #ifdef HAVE_SETEUID.

I pulled a copy of sudo from the 2004 IExpress DVD with a version of 1.6.7p5 and it runs OK. Has anyone else run into this?


Bill Hassell, sysadmin
6 REPLIES 6
Sameer_Nirmal
Honored Contributor
Solution

Re: sudo for 11.23

Few functions including "setegid" are not available on HP-UX 11.23 unless following portability package is installed.

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PortPkg
Steven E. Protter
Exalted Contributor

Re: sudo for 11.23

Shalom Bill,

Yes, Bill I've seen this. Some ix software is complete and checks for dependencies. sudo is rather well known for not checking dependencies and merely malfunctioning if something is missing.

The previous post saying to install additional necessary software should take care of it.

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
Bill Hassell
Honored Contributor

Re: sudo for 11.23

So I uninstalled the older version, installed the PortPkg and installed the latest version. No joy. It seems that the code has ifdef's to handle the situation. Oh well, the 1.6.7p5 version works so that's where I will stay for now. Thanks for the pointer to PortPkg -- it seems that there are a number of portability issues with 11.23.


Bill Hassell, sysadmin
Bill Hassell
Honored Contributor

Re: sudo for 11.23

Will use the older version for 11.23.


Bill Hassell, sysadmin
Patrick Wallek
Honored Contributor

Re: sudo for 11.23

Bill,

I have the following installed on my 11.23 box:

# swlist |grep -i sudo
ixSudo A.11.00-1.6.9p16.001 Super User Do


I don't recall having to do anything special with that version. It works fine.
Bill Hassell
Honored Contributor

Re: sudo for 11.23

It's the latest version 1.7.2p1 that has the problem.


Bill Hassell, sysadmin