Find the answer to your Linux question:
Results 1 to 4 of 4
Hi is there any way I can deny root user for accessing my files . only user can view edit and delete the files ....
  1. #1
    Just Joined! pratapsingh's Avatar
    Join Date
    Feb 2009
    Posts
    82

    Exclamation Deny root user for accessing my file?

    Hi
    is there any way I can deny root user for accessing my files .

    only user can view edit and delete the files .

  2. #2
    Linux Newbie
    Join Date
    Mar 2009
    Posts
    228
    Nope. That's why root is called super user.

  3. #3
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    yes,root has all the power , but you can provide extra level of protection by setting it as immutable file.

    you need to have root access to do this:

    chattr +i filename
    but remember root can unset this by running the command

    chattr -i filename
    and edit/delete your file.

    for more check
    man chattr
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  4. #4
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    If you can't trust your sys admin, you sir, are in a whole heap of trouble.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

Posting Permissions

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