Upgrading Sudo


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Upgrading Sudo
# 1  
Old 11-12-2002
Data Upgrading Sudo

Hi all
I am trying to upgrade Sudo on my Redhat Linu 7.0 box. I have obtained the latest version of Sudo (1.6.6) from http://www.courtesan.com/sudo/. THis is in the form of a src.rpm file. I am confused about installing this. How can I install from a source rpm. It does not upgrade the package when I do a rpm -Uvh <filename> Three files get created when I fo this:
a
/usr/src/redhat/SOURCES/sudo-1.6.5p2.tar.bz2
/usr/src/redhat/SOURCES/sudo-1.6.5p3.patch
/usr/src/redhat/SPEC/sudo.spec

I do not know where to proceed from here. I tried to do rpm -bb /usr/src/redhat/SPEC/sudo.spec. But got the message:
error: failed to build dependencies:
pam-devl is needed bu sudo-1.6.5p2-1.7x.1

Please give me some direction as to where to proceed from here.

Thanks all in advance.

Srini
# 2  
Old 11-13-2002
Why don't you get the binary package from a redhat mirror? For example, here:
ftp://ftp.dulug.duke.edu/pub/redhat/....7x.1.i386.rpm

Pick a mirror closer to you if you are not in north america. The list of mirrors is here: http://www.redhat.com/mirrors.html


As far as installing a source rpm, you would need to use the '--rebuild' option. Check the rpm man page for details. In general, its easier to just use the RedHat-provided rpms when possible.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sudo: sorry, you must have a tty to run sudo

Hi, Have a need to run the below command as a "karuser" from a java class which will is running as "root" user. When we are trying to run the below command from java code getting the below error. Command: sudo -u karuser -s /bin/bash /bank/karunix/bin/build_cycles.sh Error: sudo: sorry,... (8 Replies)
Discussion started by: Satyak
8 Replies

2. Shell Programming and Scripting

sudo: sorry, you must have a tty to run sudo

Hi All, I running a unix command using sudo option inside shell script. Its working well. But in crontab the same command is not working and its throwing "sudo: sorry, you must have a tty to run sudo". I do not have root permission to add or change settings for my userid. I can not even ask... (9 Replies)
Discussion started by: Apple1221
9 Replies

3. Shell Programming and Scripting

ssh foo.com 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/ foo.com:path/on/remote/machine/ ssh foo.com 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

4. AIX

sudo log and sudo auditing

Sudo In AIX, how to find out what commands have been run after a user sudo to another user? for example, user sam run 'sudo -u robert ksh' then run some commands, how can I (as root) find what commands have been run? sudo.log only contains sudo event, no activity logging. (3 Replies)
Discussion started by: jalite19
3 Replies

5. Cybersecurity

sudo /bin/sh or sudo su -

we are looking at changing the way we get root on our network. in our current system if an admin needs root access he just gets the root password and uses an su. some of our staff have decided that a sudo to "/bin/sh" will be easer. some of our staff think a sudo to "su -" will be better. I... (0 Replies)
Discussion started by: robsonde
0 Replies

6. AIX

Upgrading OS from 5.2 to 5.3

We currently have test and production servers running AIX 5.2, DB2 8.1(Prod), DB2 8.2(Test),Websphere 6.1 on both. We need to upgrade to DB2 to version 9, but to do that we also need to upgrade the operating system to 5.3 and go from 32 bit kernel to 64 bit kernal. Looking for information on any... (3 Replies)
Discussion started by: jyoung
3 Replies

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

8. Filesystems, Disks and Memory

Upgrading PC Memory

hello folks, I am planning to upgrade my PC's ram. currently the ram I have is 2x256MB=512MB/133MHz (DDR266) - DDR SDRAM, PC-2100. My guess is that it has 184 Pins. I would like to get a DDR2 with 667MHz, 240 pin. Is it possible, since pins don't match. Do they have to match? (there are 3... (4 Replies)
Discussion started by: milhan
4 Replies

9. AIX

Upgrading from 5.1.0.0 to 5.2.0.0

As a fairly new Administrator to AIX i am a little leary of the OS upgrade I need to do on one of our servers. I have already upgraded the microcode to the lastest level and now need to do the OS. I have the docs and discs from IBM and have determined that I dont want to do a new installation but... (5 Replies)
Discussion started by: Target
5 Replies
Login or Register to Ask a Question