Find the answer to your Linux question:
Results 1 to 4 of 4
Hellow, I have a question about selinux. Is it possible to prohibit root to access to a directory/filesystem? I have tried it but I have no success. Thank you very ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2012
    Posts
    2

    selinux question


    Hellow,

    I have a question about selinux.

    Is it possible to prohibit root to access to a directory/filesystem?

    I have tried it but I have no success.

    Thank you very much.
    Alejandro

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Hello and Welcome!

    Are you asking if you can actually stop root from accessing a file or directory?
    If so... no.
    Root is all-knowing, all-seeing and all-powerful.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  3. #3
    Just Joined!
    Join Date
    Jan 2012
    Posts
    2
    Hi Jay,

    This was exactly my question using selinux.
    I know itīs impossible in a standar linux.
    I thought selinux did not solve my question but I was not sure.

    Thanks a lot for your answer.
    Alejandro

  4. #4
    Just Joined!
    Join Date
    Aug 2009
    Posts
    83
    Quote Originally Posted by jayd512 View Post
    Are you asking if you can actually stop root from accessing a file or directory?
    If so... no.
    Root is all-knowing, all-seeing and all-powerful.
    I always understood that more elaborate separation of privileges is what one would build a SELinux MCS or MLS policy for. See "Viewing audit logs" in SELinux/FedoraMLSHowto - FedoraProject for a practical example of what I mean.

Posting Permissions

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