1834804 Members
2346 Online
110070 Solutions
New Discussion

sudo depot for 11.00

 
SOLVED
Go to solution
Mark McDonald_2
Trusted Contributor

sudo depot for 11.00

Hi all

I need to install sudo on some(10) 11.00 machines. Is there a depot available or do I have to make it?

I have looked in the usual place and can only fins depots for 11i:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.9p11/

Thanks Mark
9 REPLIES 9
Pete Randall
Outstanding Contributor

Re: sudo depot for 11.00

11.00 has been out of support for quite some time. That's why you won't find many packages for it. The only place I know of that still has 11.00 packages is Merijn's site:

http://www.cmve.net/~merijn/#Statistics

However, I don't think he has sudo.

;^(


Pete

Pete
YAQUB_1
Respected Contributor

Re: sudo depot for 11.00

Hello Mark,

I am not sure below URL link help fully for U, anyway if U wants then U see this:

http://forums12.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1208433432264+28353475&threadId=37724

Thanks--Yaqub
I am a Customer Advocate!!!
Robert-Jan Goossens_1
Honored Contributor

Re: sudo depot for 11.00

Hi,

Download the source and compile it with these instructions.

http://www.unixcities.com/sudo/

Best regards,
Robert-Jan
Mark McDonald_2
Trusted Contributor

Re: sudo depot for 11.00

Hmmmmm

Downloaded the stable release and got this file: sudo-1.6.9p15.tar.tar

server > file sudo-1.6.9p15.tar.tar
sudo-1.6.9p15.tar.tar: awk program text
server > sh sudo-1.6.9p15.tar.tar
sh: sudo-1.6.9p15.tar.tar: Execute permission denied.

I suspect the firewall that scans the downloads has corrupted it.

:-(
OldSchool
Honored Contributor

Re: sudo depot for 11.00

well...it says its a tar file, did you even try extracting it, or listing the contents? I wouldn't expect it to run.

try:

tar -tvf sudo-1.6.9p15.tar.tar

to list the contents, or

tar -xvf sudo-1.6.9p15.tar.tar

to extract it. If the name is to be believed, it's a tar of a tar??
Pete Randall
Outstanding Contributor

Re: sudo depot for 11.00

Where did you download the "stable source" from? Both R-J's instructions and the porting center claim that it is supposed to be a compressed tar archive, like sudo-1.6.9.tar.gz for example.


Pete

Pete
derek b smith_1
Regular Advisor

Re: sudo depot for 11.00

Was this ever resolved? I am having the same issue.

[/usr/local/bin/sudo-1.6.9p16]
root@ns1.cardhealth.com# ./configure --with-CC=/usr/local/bin/pa20_32/bin/gcc \
> --with-incpath=/usr/local/bin/pa20_32/include --with-libpath=/usr/local/bin/pa20_32/lib \
> --with-blibpath=/usr/local/bin/pa20_32/lib
configure: Configuring Sudo version 1.6.9
configure: will pass -blibpath:/usr/local/bin/pa20_32/lib to the loader.
configure: Adding /usr/local/bin/pa20_32/include to CPPFLAGS
configure: Adding /usr/local/bin/pa20_32/lib to LDFLAGS
checking whether to lecture users the first time they run sudo... yes
checking whether sudo should log via syslog or to a file by default... syslog
checking which syslog facility sudo should log with... local2
checking at which syslog priority to log commands... notice
checking at which syslog priority to log failures... alert
checking how long a line in the log file should be... 80
checking whether sudo should ignore '.' or '' in $PATH... no
checking whether to send mail when a user is not in sudoers... yes
checking whether to send mail when user listed but not for this host... no
checking whether to send mail when a user tries a disallowed command... no
checking who should get the mail that sudo sends... root
checking for bad password prompt... Password:
checking for bad password message... Sorry, try again.
checking whether to expect fully qualified hosts in sudoers... no
checking for umask programs should be run with... 0022
checking for default user to run commands as... root
checking for editor that visudo should use... vi
checking whether to obey EDITOR and VISUAL environment variables... no
checking number of tries a user gets to enter their password... 3
checking time in minutes after which sudo will ask for a password again... 5
checking time in minutes after the password prompt will time out... 5
checking whether to use per-tty ticket files... no
checking whether to include insults... no
checking whether to override the user's path... no
checking whether to get ip addresses from the network interfaces... yes
checking whether stow should be used... no
checking whether to do user authentication by default... yes
checking whether to disable running the mailer as root... no
checking whether to disable shadow password support... no
checking whether root should be allowed to use sudo... yes
checking whether to log the hostname in the log file... no
checking whether to invoke a shell if sudo is given no arguments... no
checking whether to set $HOME to target user in shell mode... no
checking whether to disable 'command not found' messages... no
checking for egrep... egrep
checking for gcc... /usr/local/bin/pa20_32/bin/gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

CONFIG.LOG says

configure:3971: checking for egrep
configure:3987: found /usr/bin/egrep
configure:3998: result: egrep
configure:4064: checking for gcc
configure:4091: result: /usr/local/bin/pa20_32/bin/gcc
configure:4329: checking for C compiler version
configure:4336: /usr/local/bin/pa20_32/bin/gcc --version >&5
./configure[4337]: /usr/local/bin/pa20_32/bin/gcc: Execute permission denied.
configure:4339: $? = 126
configure:4346: /usr/local/bin/pa20_32/bin/gcc -v >&5
./configure[4347]: /usr/local/bin/pa20_32/bin/gcc: Execute permission denied.
configure:4349: $? = 126
configure:4356: /usr/local/bin/pa20_32/bin/gcc -V >&5
./configure[4357]: /usr/local/bin/pa20_32/bin/gcc: Execute permission denied.
configure:4359: $? = 126
configure:4382: checking for C compiler default output file name
configure:4409: /usr/local/bin/pa20_32/bin/gcc -I/usr/local/bin/pa20_32/include conftest.c >&

5
./configure[4410]: /usr/local/bin/pa20_32/bin/gcc: Execute permission denied.
configure:4412: $? = 126
configure:4450: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "sudo"

my permissions are a mix between 777 and 755
Solution

Re: sudo depot for 11.00


Mark,
For 11.0 I took sudo1.6.9p16 and had to modify the configure program so as to not build for NOEXEC which 11.0 doesn't support. I believe I added a line around line:

enable_noexec=no
enable_shared=yes

After running configure that builds the Makefile I may have also hacked Makefile to uncomment anything related to noexec so it wouldn't try to build a sudo_noexec.

With that I was able to successfully run
make install

John Creighton
jpcreighton@pplweb.com
for RC ( John Creighton )
Mark McDonald_2
Trusted Contributor

Re: sudo depot for 11.00

.