Sponsored Content
Full Discussion: Sudo error on AIX 7.1
Operating Systems AIX Sudo error on AIX 7.1 Post 303041516 by RecoveryOne on Tuesday 26th of November 2019 02:56:23 PM
Old 11-26-2019
Not sure if applicable to you, but when I've had to install sudo on AIX I pull the packages directly from Todd's website:
Download Sudo


I've had so many issues with the toolkit that some packages are just better to install one off.



I will state, that if you obligations is to use sudo with One Identity, the files from sudo.ws will work.
This User Gave Thanks to RecoveryOne For This Post:
 

10 More Discussions You Might Find Interesting

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

2. AIX

Sudo error

I want give a user "sar" permission, so I modify the sudoers file: unix1 is the group for users can use sar command Cmnd_Alias RUN_SAR = /usr/sbin/sar User_Alias UNIX1_USERS = %unix1 UNIX1_USERS ALL = NOPASSWD:RUN_SAR However, when I run sar command, it shows: $ sar 1 4 sar: The... (1 Reply)
Discussion started by: rainbow_bean
1 Replies

3. UNIX for Advanced & Expert Users

sudo su error

Hello, I am logging to a server using username 'test'. I want to execute some commands as user test2. When I am trying to run `sudo su - test2 -c 'ls'` it gives error user 'test' is not allowed to run sudo in host. But when I login into the account 'test2' using sudo su - test2 all these... (6 Replies)
Discussion started by: karayan
6 Replies

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

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

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

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

8. UNIX for Dummies Questions & Answers

Error in Sudo

Hi, I have installed sudo on Solaris 10 (sparc). When I try to add a user I get the following: -bash-3.00$ sudo addusr scarlet sudo sudo: /usr/local/etc/sudoers.d is owned by uid 2, should be 0 Password: I entered a password, thinking it was for the sudo user but it failed. Then I entered the... (3 Replies)
Discussion started by: Scarlet
3 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. Solaris

SUDO error in Solaris: auth.error] fork

I cannot solve the following error bellow. Can someone help me on this please? Mar 31 07:08:45 serverx sudo: fork Mar 31 07:18:50 serverx sudo: fork Mar 31 07:28:45 serverx sudo: fork Mar 31 07:38:47 serverx sudo: fork Mar 31 07:48:45 serverx sudo: fork Mar 31 07:58:45 serverx... (1 Reply)
Discussion started by: pangarano
1 Replies
APT-GRIP(1)						User Contributed Perl Documentation					       APT-GRIP(1)

NAME
apt-grip - extend Emdebian Grip to add Debian packages on-the-fly Synopsis $ sudo apt-grip foo bar baz $ sudo apt-grip -M http://ftp.fr.debian.org/debian/ foo bar baz $ sudo apt-grip --clean-cache Description Emdebian Grip has a limited number of packages in the main repository, principally to reduce the size of the apt cache data. On occassion, individual packages from standard Debian need to be added to a single machine running Emdebian Grip. apt-grip has been written with that purpose in mind. apt-grip requires DEB_VENDOR support in dpkg to determine how the package should be "gripped". The default Vendor is "emdebian-grip" but note the next section on the limitations of apt-grip if you plan to use it on an unmodified Debian system. The usual case is that the system has already been upgraded to Emdebian Grip before apt-grip is used. Contact the debian-embedded@lists.debian.org mailing list for requests to add packages to Emdebian Grip repositories directly. Downloading the Packages files can take a reasonable amount of time, so to grip a number of packages, either specify all packages in one command or use the "--keep-cache" option for each run and use the "--clean-cache" option at the end. If the device running Grip has insufficient space to download and process the package(s), run apt-grip on a different machine of the using the "--build-only" and "--arch" options. The processed archives will be in /var/lib/apt-grip/output/ and can be copied from there onto the device directly or by including the packages into a locally accessible repository. Once installed on the Grip device use "apt-grip -c" on the build machine to clear the cache. "--keep-cache" is implied when "--build-only" is set. Note also that, in common with the rest of Emdebian processing, Install-Recommends is always turned off, so if you need a package that is only recommended by packages in the list given to "apt-grip", that package will need to be added to the list explicitly. Limitations Installing any package from repositories outside the normal apt sources (especially if those packages are subsequently modified as in emgrip) will list those packages as "local or obsolete" in package managers. Converted packages cannot be upgraded without repeating the call to "apt-grip" because "apt-get" does not know about the temporary mirror that "apt-grip" used to download the packages. This can cause problems if dependencies of such packages need to be upgraded. It is possible that the main system "apt" will try to remove these local packages in order to proceed with the main system upgrade. The best option is to seek addition of such packages to the repository you use for your main apt sources. (Use the emdebian-grip-server package to create your own repository.) "Gripping" a package means making a new version (with the em1 version suffix) with less files in the new package. See emgrip (1) for detailed information on that process. Changing the version string means that some dependencies need to be changed - particularly strict dependencies. This means that apt-grip could fail with some combinations of packages. "apt-grip" uses the "--reinstall" option to apt-get to cope with some of these situations. Strict dependency issues If a source package builds multiple binary packages, where at least one package has a strict dependency on one of the other binary packages and one of those binary packages is already installed from Debian, it will be necessary to install Grip versions of both the binary packages involved so that the strict dependency can be satisfied. Source: foo Package: foo Depends: bar (= 0.0.1) Package: bar $ sudo apt-grip foo bar In the example above, foo_0.0.1_amd64.deb will become foo_0.0.1em1_amd64.deb and will be given a strict dependency on "bar (= 0.0.1em1)" by emgrip. Default mirror apt-grip uses "http://ftp.uk.debian.org/debian/" as the default Debian mirror. Use the -M|--mirrror option to change it. SecureApt Use the "--no-auth" option to allow the use of unauthenticated repositories. Note that this disables authentication against all available repositories. Upgrading to Grip Change your sources list from debian mirrors to the emdebian grip mirror. e.g. for unstable: deb http://www.emdebian.org/grip/ unstable main (Emdebian Grip only supports Debian suites: unstable, sid, testing, squeeze, stable, lenny, lenny-proposed-updates.) Then update and upgrade: $ sudo apt-get update $ sudo apt-get clean $ sudo apt-get upgrade $ sudo apt-get dist-upgrade (Note that apt-get will usually report the ability to free several hundred megabytes on your system when some of your Debian packages are upgraded to Emdebian Grip but you still need enough room to actually download and unpack the new packages.) Use "apt-get clean" after the upgrade to recover more free space. Grip components Grip divides the archive further by creating new areas of the archive for packages related to development, debugging, documentation or java, again to reduce the final size of the cached package data on the system. If you want to use "apt-grip" on your Emdebian Grip system, ensure that you add the dev component to your apt sources: deb http://www.emdebian.org/grip/ unstable main dev Similarly for doc, debug and java. Other components may be added from time to time, so check the Emdebian website: http://www.emdebian.org/grip/search.php Add more components as required: deb http://www.emdebian.org/grip/ unstable main dev debug java Emdebian Baked apt-grip has been extended to help generate packages for use with Emdebian Baked. This has meant adding foreign architecture support as well as support for ignoring the status of currently installed packages on the device running apt-grip. The difficult part of this process is managing updated packages and changed dependencies. apt-grip can only help with Debian stable. emdebian-grip has not been backported to Lenny, so your development machine must be running Debian Squeeze or Sid (testing or unstable) to develop a Baked root filesystem based on Lenny. Example apt-grip command for Baked $ sudo apt-grip -a mipsel -V emdebian-baked -S stable dash snmpd Baked packages will then exist in /var/lib/apt-grip/output/, including all dependencies of the specified packages. These can then be included into an existing reprepro repository: $ reprepro includedeb stable /var/lib/apt-grip/output/*.deb If your repository is to support more than one architecture, ensure that you remove or ignore the Architecture: all packages which have already been processed by apt-grip: $ sudo rm /var/lib/apt-grip/output*_all.deb Then use the -A option to reprepro to only include the added architecture: $ reprepro -A armel includedeb stable /var/lib/apt-grip/output/*_armel.deb For more information, see the emdebian website: http://www.emdebian.org/baked/ perl v5.12.3 2011-06-15 APT-GRIP(1)
All times are GMT -4. The time now is 01:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy