[sudo-users] sudo: setuid(): Operation not permitted

Ahamed ahamed.en at gmail.com
Fri Mar 25 22:34:16 EDT 2011


Hi Jeff,

Hope you have added the entries for the user oracle and the user you are
trying this command(lets say newuser) in the sudoers file.

newuser ALL=NOPASSWD:ALL # to allow the newuser to use sudo
newuser ALL=(oracle) NOAPSSWD:ALL #Run as alias, for the option "-u"

This is just an example.

regards,
Ahamed

On Fri, Mar 25, 2011 at 12:00 PM, <sudo-users-request at courtesan.com> wrote:

> Send sudo-users mailing list submissions to
>        sudo-users at sudo.ws
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://www.sudo.ws/mailman/listinfo/sudo-users
> or, via email, send a message with subject or body 'help' to
>        sudo-users-request at sudo.ws
>
> You can reach the person managing the list at
>        sudo-users-owner at sudo.ws
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of sudo-users digest..."
>
>
> Today's Topics:
>
>   1. sudo: setuid(): Operation not permitted (Jeffrey Lee)
>   2. Re: sudo: setuid(): Operation not permitted (Todd C. Miller)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 25 Mar 2011 10:59:04 +1100
> From: "Jeffrey Lee" <LEEJHK at stgeorge.com.au>
> To: <sudo-users at sudo.ws>
> Subject: [sudo-users] sudo: setuid(): Operation not permitted
> Message-ID: <4D8C7578.B1D7.0042.0 at stgeorge.com.au>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi
> I am running sudo 1.8 on AIX 5.1
> $ /usr/local/bin/sudo -i -u oracle
> sudo: setuid(): Operation not permitted.
>
> I am sure the permission of sudo and sudoers is right
> $ ls -al /usr/local/bin/sudo
> ---s--x--x   2 root     system       446169 Mar 11 01:45
> /usr/local/bin/sudo
> $ ls -al /etc/sudoers
> -r--r-----   1 root     system          650 Mar 22 15:25 /etc/sudoers
>
> But it works like
>
>  $ /usr/local/bin/sudo /usr/local/bin/sudo -i -u oracle
> Password:
>
> Anyone have any suggestion and advise?
>
> Regards
>
> Jeffrey
>
> leejhk at stgeorge.com.au
>
>
> **********************************************************************
> *****   IMPORTANT INFORMATION    *****
> This document should be read only by those persons to whom it is
> addressed and its content is not intended for use by any other persons.
> If you have received this message in error, please notify us
> immediately.  Please also destroy and delete the message from your
> computer.  Any unauthorised form of reproduction of this message
> is strictly prohibited.
>
> St.George Bank - A Division of Westpac Banking Corporation AFSL 233714,
> Advance Asset Management Limited AFSL 240902,  St George Life Limited
> AFSL 240900, ASGARD Capital Management Limited AFSL 240695 and Securitor
> Financial Group Limited AFSL 240687 is not liable for the proper and
> complete transmission of the information contained in this communication,
> nor for any delay in its receipt.
> **********************************************************************
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 25 Mar 2011 07:10:19 -0400
> From: "Todd C. Miller" <Todd.Miller at courtesan.com>
> To: "Jeffrey Lee" <LEEJHK at stgeorge.com.au>
> Cc: sudo-users at sudo.ws
> Subject: Re: [sudo-users] sudo: setuid(): Operation not permitted
> Message-ID: <201103251110.p2PBAJY8003022 at core.courtesan.com>
>
> This should be fixed in sudo 1.8.1, can you try the 1.8.1 beta?
>
> Source:
> http://www.sudo.ws/sudo/dist/beta/sudo-1.8.1b2.tar.gz
>
> Packages:
> http://www.sudo.ws/sudo/dist/beta/packages/index.html
>
>  - todd
>
>
> ------------------------------
>
> ____________________________________________________________
> sudo-users mailing list <sudo-users at sudo.ws>
> For list information, options, or to unsubscribe, visit:
> http://www.sudo.ws/mailman/listinfo/sudo-users
>
> End of sudo-users Digest, Vol 99, Issue 6
> *****************************************
>



More information about the sudo-users mailing list