sudo install


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users sudo install
# 1  
Old 01-05-2011
sudo install

Code:
pkgadd -d sudo-1.7.4p4-sol10-sparc-local

Sudo has been installed succesfully. Just wandering why I cannot still not use sudo.
Code:
root@host#which sudo
/usr/bin/sudo

When I logged in using my own profile it says. I still cannot even execute visudo. Not sure what parameters Im stil missing
Code:
bash-3.00$ sudo
ld.so.1: sudo: fatal: libintl.so.8: open failed: No such file or directory
Killed

machine: sol10 sparc

Last edited by Scott; 02-07-2011 at 02:01 PM.. Reason: Code tags
# 2  
Old 01-05-2011
What is the output of
Code:
ldd /usr/bin/sudo

I think you are missing runtime libraries
# 3  
Old 01-06-2011
here's the output
Code:
        libpam.so.1 =>   /usr/lib/libpam.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libintl.so.8 =>  (file not found)
        librt.so.1 =>    /usr/lib/librt.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libz.so =>       /usr/lib/libz.so
        libc.so.1 =>     /usr/lib/libc.so.1
        libcmd.so.1 =>   /lib/libcmd.so.1
        libaio.so.1 =>   /lib/libaio.so.1
        libmd.so.1 =>    /lib/libmd.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libscf.so.1 =>   /lib/libscf.so.1
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        libm.so.2 =>     /lib/libm.so.2
        /platform/SUNW,SPARC-Enterprise-T5120/lib/libc_psr.so.1
        /platform/SUNW,SPARC-Enterprise-T5120/lib/libmd_psr.so.1


Last edited by Scott; 02-07-2011 at 02:01 PM.. Reason: Code tags
# 4  
Old 02-07-2011
Bug

Runtime linker is missing alright....anyone got around the solution for this ?

I am facing same problem.... after i installed SUDO on my sol box...looks like some pre-check was needed.....


AbHi
# 5  
Old 02-07-2011
Login or Register to Ask a Question

Previous Thread | Next Thread

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

6. UNIX for Dummies Questions & Answers

sudo apt-get install build-essential not working

it asks for password and then following is displayed Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package build-essential what should i do to install g++ compiler? (4 Replies)
Discussion started by: sparkle
4 Replies

7. AIX

Install sudo

Hello I need to install sudo for one of my box with aix 5.3. I got the file but its for sudo-1.6.9p15-1.aix5.2.ppc.rpm. There is a problem if I install this for aix 5.2 ? I download from IBM AIX Toolbox Download Page - Alphabetical Listing The bullfreeware.com has a older... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

8. AIX

Install sudo on AIX 5.3

I'm trying to install sudo on AIX 5.3. I don't have a compiler on my machine, so I was trying to find a binary. The one found at http://www.bullfreeware.com/listaix52.html that is supposed to work for 5.3 even though it was compiled on 5.2. The issue is I'm new to AIX and could not figure out how... (3 Replies)
Discussion started by: sphericon
3 Replies

9. UNIX for Dummies Questions & Answers

sudo install on HP UX 11i(basic question)

Hello folks, had a question. I was trying to install sudotool on HP -UX 11i. I downloaded gzip file from sudo site and unzipped to /tmp folder on HP box how do i install it?? do i need to run "swinstall" menu and then choose from there? THanks! karthik (1 Reply)
Discussion started by: karthikosu
1 Replies

10. UNIX for Dummies Questions & Answers

sudo: application install question

I need to install an application on my Sun station and need root privleges to do so. I was given sudo privileges and was told to issue the following command. bash-2.03$ sudo init 0 I've read the man pages for init and understand the purpose of that command. My questions are: 1. From the... (2 Replies)
Discussion started by: forbin24
2 Replies
Login or Register to Ask a Question