ACL Question: normal user howto restrict root's permition ?
gang.xu at sw-linux.com
Thu Nov 4 00:25:37 UTC 2004
I have a question:
normal users how to restrict root permition of a file(own by normal user)?
Kernel 2.6.7 (compile with ACL)
mount / with acl option
skywind is a normal user in system
normal user skywind restrict root's read permition by using ACL.
skywind at localhost:~$ cat 123 > /tmp/test
skywind at localhost:~$ chmod 700 /tmp/test
skywind at localhost:~$ setfacl u:root:--- /tmp/test
skywind at localhost:~$ su -
localhost:~# cat /tmp/test
root can read the /tmp/test
I don't want root read the /tmp/test
How to do?
Could anyone help me?
Very very thankx~~~~~
More information about the users