Skip to main content

Remove setuid bit from files

Comments

5 comments

  • cPRex Jurassic Moderator

    Hey there!  I think the better question here is what exactly are you trying to achieve by making this change?

    0
  • Daniel Pewzner

    Limit exposure to security issues.

    0
  • cPRex Jurassic Moderator

    It's important to note that none of these packages are managed by cPanel, although we certainly do use them internally.  We don't test things that deviate from the official operating system structure, so I honestly can't say for sure what, if anything, may happen.  I have two general thoughts on this type of work:

    -You'll have to try it.  There really isn't a way to know for sure if it will affect your system without manual testing, and
    -Since these files are all part of operating system packages, your changes could ultimately be reset at any time as part of a system update.

    0
  • Daniel Pewzner

    Thanks for getting back to me.
    Do you think I should request a new feature? Something like "harden cPanel by removing unnecessary setuid bits"? Or at least have the security scripts just email admins with details of that?

    It seems to me, given the rather large uptick in security issues, that that would be a good idea. On my non-cPanel servers I always remove every setuid bit I can. Then have a script check over things upon dnf updates.

    Thanks again, Dan

    0
  • cPRex Jurassic Moderator

    It never hurts to make a feature request - I get the request, talk to the team about it, and we go from there.  I honestly don't know what they'd say about this specific one.

    I'd go ahead and submit it and I'll mention it came from a Forums user.

    0

Please sign in to leave a comment.