Find the answer to your Linux question:
Results 1 to 2 of 2
I noticed a few files in /usr/bin have the a stickybit set sudo sudoedit newgrp passwd mtr gpasswd are they supposed to have a stickybit set? what is the easiest ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Posts
    27

    Sticky Bits


    I noticed a few files in /usr/bin have the a stickybit set
    sudo
    sudoedit
    newgrp
    passwd
    mtr
    gpasswd

    are they supposed to have a stickybit set?
    what is the easiest way to compare the files with the ubuntu's copy to make sure they are not compromised?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,737
    Yes, these have to have the setuid bit (not sticky bit - different thing) set because they have to gain root privileges for their operations. They are not compromised, though they should not have write privileges set to any other than owner (root).
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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