Sponsored Content
Full Discussion: Install sudo on AIX 5.3
Operating Systems AIX Install sudo on AIX 5.3 Post 302143316 by porter on Wednesday 31st of October 2007 04:22:23 PM
Old 10-31-2007
Use "smit" to install the package.

On AIX most admin tasks can be done with smit and it really does assist.
 

10 More Discussions You Might Find Interesting

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

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

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

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

5. AIX

AIX 5.3 sudo bootinfo

I am trying to understand why I get "0" returned when I run the command sudo bootinfo -r. I know bootinfo isn't really supported in versions higher then AIX 4.2. I also know that instead of bootinfo -r I could use lsattr -El sys0 -a realmem | awk '{print $2}' and produce the same output as ... (1 Reply)
Discussion started by: maverick9576
1 Replies

6. UNIX for Advanced & Expert Users

sudo install

pkgadd -d sudo-1.7.4p4-sol10-sparc-local Sudo has been installed succesfully. Just wandering why I cannot still not use sudo. 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 ... (4 Replies)
Discussion started by: lhareigh890
4 Replies

7. AIX

AIX 5.3 Using sudo to control smit

Does anyone have any experience using sudo to control smit on AIX 5.3? These are the smit commands that I want certain users to execute: # Cmnd alias specification Cmnd_Alias SMIT = /bin/smit hacmp, \ /bin/smit pxdam, \ /bin/smit cl_lsuser, \ /bin/smit cl_users, \ /bin/smit cl_passwd ... (5 Replies)
Discussion started by: tharrieswk
5 Replies

8. Cybersecurity

sudo - AIX - User privilege specification

I am planning to implement sudo for users. Under , it looks I have to put the users who need to have sudo access: What are the recommended for users? I don't think I need to give the ALL privilege (i.e ) to AIX users. I'd like to know the commonly used privilege specification for sudo... (1 Reply)
Discussion started by: Daniel Gate
1 Replies

9. AIX

AIX - remote shell (sudo) - signal 11 core system 50

Hi, I am running a remote shell from site A to site B, where both are AIX. The remote shell starts other application, and when it finishes, it returns to the site A. The problem is that I am receiving an error signal 11 and system core error 50 - segmentation fault. Does anyone know if there are... (6 Replies)
Discussion started by: brjohnsmith
6 Replies

10. AIX

Sudo error on AIX 7.1

Hello, I tried installing sudo on a lab AIX server. It has been successfully installed. but i still see the below errors. />sudo -V Sudo version 1.8.27 Configure options: --prefix=/opt/freeware --sbindir=/opt/freeware/sbin --libdir=/opt/freeware/lib --mandir=/opt/freeware/man... (8 Replies)
Discussion started by: System Admin 77
8 Replies
Perlbal::Manual::Install(3pm)				User Contributed Perl Documentation			     Perlbal::Manual::Install(3pm)

NAME
Perlbal::Manual::Install - Steps, dependencies and requirements to install Perlbal VERSION Perlbal 1.78. DESCRIPTION How to install Perlbal. Installing Perlbal for the impatient $ perl -MCPAN -e shell cpan> install Perlbal App::cpanminus is also good at quickly installing Perlbal and all of its dependencies $ cpanm Perlbal IO::AIO Perlbal::XS::HTTPHeaders ... will give you an ideal Perlbal environment. Installing Perlbal (with a little more detail) You need to have perl on the machine. If you don't have it yet, you can grab it from http://www.perl.org/. Having perl on the machine should give you access to the CPAN shell, one of several possible ways to install and upgrade Perl modules. Start your CPAN shell: $ perl -MCPAN -e shell And now tell it to install Perlbal: cpan> install Perlbal In the end you should see a message stating "make install -- OK" (if that's not the case, please refer to section Troubleshooting later in this document). Installing Perlbal by hand (without using the CPAN shell) Head to <http://search.cpan.org/dist/Perlbal/> and find the download link. Download the file and untar it: $ tar zxvf Perlbal-X.XX.tar.gz Note that X.XX stands for the version number. Replace that with the latest version you got. Now you need to create the Makefile and run it; we're also going to run the tests before installing Perlbal: $ cd Perlbal-X.XX.tar.gz $ perl Makefile.PL $ make $ make test $ sudo make install Installing the latest development version You can clone Perlbal's repository from github and install it by hand by following the next steps: $ git clone http://github.com/perlbal/Perlbal.git $ cd Perlbal $ perl Makefile.PL $ make $ make test $ sudo make install Optional Dependencies and Asynchronous IO It is very highly recommended that Perlbal::XS::HTTPHeaders is installed and enabled. If you have poor performance, the first thing to do is install Perlbal::XS::HTTPHeaders. $ perl -MCPAN -e shell cpan> install Perlbal::XS::HTTPHeaders Enable it in your configuration: XS enable headers Perlbal checks for IO::AIO availability and uses it to perform asynchronous IO operations. If you're performing disk operations (e.g., using Perlbal as a web server), having IO::AIO will improve your response times. The only thing required in order to benefit from this feature is to install IO::AIO: $ perl -MCPAN -e shell cpan> install IO::AIO If you don't have IO::AIO installed a warning message will be displayed when you start perlbal: WARNING: AIO mode disabled or not available. Perlbal will run slowly under load if you're doing any disk operations. (e.g. web_server mode). Install IO::AIO for better performance. Checking that Perlbal is successfully installed Perlbal is shipped with some sample configuration files that reside in the conf directory (of the source). You can give Perlbal a try by heading to the directory where the source is and using the following command: $ sudo perlbal -c conf/webserver.conf By pointing your browser at "localhost:80" you should now see Perlbal responding (showing you the contents of "/usr/share/doc"). Note that the webserver.conf file sets up a Perlbal web server that listens on port 80. If you already have something listening on port 80 you need to either stop that service or change the port number on webserver.conf. Also note that if your machine doesn't have a "/usr/share/docs" directory you'll see an "ERROR: Directory not found for service docs" error message. Change the directory in the configuration file to something that exists. Troubleshooting Prerequisites not found If you're installing Perlbal by hand you may encounter some error messages describing how some prerequisites are not available: user@machine:~/Perlbal-X.XX$ perl Makefile.PL Checking if your kit is complete... Looks good Warning: prerequisite BSD::Resource 0 not found. Warning: prerequisite Danga::Socket 1.44 not found. Warning: prerequisite HTTP::Date 0 not found. Warning: prerequisite HTTP::Response 0 not found. Warning: prerequisite Sys::Syscall 0 not found. Writing Makefile for Perlbal This is perl's way of telling you that since you're installing Perlbal by hand you'll also need to install its prerequisites by hand. Your first choice is to download each of them separately and perform the same installation procedure for each. Unfortunately, they are all likely to have additional prerequisites. Recursively. Alternately, see the following Troubleshooting item: "No connection to the internet". No connection to the internet If you don't have a connection to the internet you can still install Perlbal, but you'll have to tranfer the source somehow to the machine. Given that Perlbal has other module dependencies from CPAN (and those have their own dependencies too), here's a solution for this problem: Step 1: On a machine with connection to the internet, install CPAN::Mini: $ perl -MCPAN -e shell cpan> install CPAN::Mini Run "minicpan" to create a minimal CPAN mirror (it contains only the latest version of each module): $ minicpan -l /home/user/minicpan/ -r http://cpan.org/ Now grab that directory and record it to something you can read on the other machine (e.g., a DVD, a hard drive). Once you're on that machine, you can run the CPAN shell and tell it to look for distributions on the local directory where you now have your own CPAN mirror: $ perl -MCPAN -e shell cpan> o conf urllist push file:///home/user/path/to/minicpan cpan> install Perlbal If you want "cpan" to record this change don't forget to commit: cpan> o conf commit No compiler available If there's no compiler available on the machine you will probably see an error ending in something like: Failed during this command: DORMANDO/Perlbal-X.XX.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status -1 You need to install something like "gcc" (check <http://gcc.gnu.org/>). After installing "gcc", when trying to install Perlbal again you may get another error message: cpan> install Perlbal Running install for module 'Perlbal' Running make for D/DO/DORMANDO/Perlbal-X.XX.tar.gz Has already been unwrapped into directory /home/myself/.cpan/build/Perlbal-X.XX-GFko0J '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status -1, won't make Running make test Make had some problems, won't test Running make install Make had some problems, won't install This is the cpan shell assuming nothing changed in the system and skipping a few steps. You need to let it know you're willing to forget the past: cpan> look Perlbal $ rm -rf * $ exit And now you can try installation again: cpan> install Perlbal SEE ALSO Perlbal::Manual. perl v5.14.2 2012-03-23 Perlbal::Manual::Install(3pm)
All times are GMT -4. The time now is 11:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy