Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: setuid bit doesn't do the trick!!!

  1. #11
    Join Date
    Feb 2010
    Beans
    166
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: setuid bit doesn't do the trick!!!

    Thanks. That explains everything.

  2. #12
    Join Date
    Feb 2010
    Beans
    166
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: setuid bit doesn't do the trick!!!

    Quote Originally Posted by john77eipe View Post
    It seems it works on both executables and non-executables. I believe if setuid bit is set, then the file he is executing or opening to write should give him full privileges as that of the process.
    My bad! I didn't make any sense (above).

    It is true that the Linux kernel ignores the setuid and setgid bits on shell scripts. These bits work only on binary (compiled) executables.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •