AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

suid not working on AIX ?

  • 1.  suid not working on AIX ?

    Posted Tue December 01, 2009 08:51 AM

    Originally posted by: Vilius


    Hello,

    I'm running AIX 6.1 box.
    I tried to use suid on binary file but it doesn't work.
    (I set suid on /usr/bin/sleep and tried to run it as user1(sleep owner is bin) - and program still runs as user1. It shoud run as bin isn't it ? - This test run as expected on Linux box)

    Filesystem is not mounted with 'nosuid'.

    Why suid is not working on AIX ?
    Disabled somewhere ?
    thanks
    Vilius
    #AIX-Forum


  • 2.  Re: suid not working on AIX ?

    Posted Tue December 15, 2009 01:50 PM

    Originally posted by: nagger


    This one made me laugh out loud - thanks.
    AIX which is UNIX does it one way and Linux which is UNIX like does it another
    and so AIX is wrong :-)

    ps on AIX reports the user who started the process.

    Perhaps, on Linux it reports the effective user rather than the real user.
    I have no idea but perhaps this is a question for a Linux Forum!

    ta Nigel
    #AIX-Forum