The SELinux guest_t user mapping does not prevent the user from running sudo with the SELinux boolean selinuxuser_use_ssh_chroot set to on!

Solution Unverified - Updated -

Issue

  • when setting the 'selinuxuser_use_ssh_chroot' boolean to 'on' implies, when the user does have a shell, it can become root with sudo.

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • selinux-policy

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.