How use UFS_ACL function?

2002-04-18 Thread kai ouyang
Hi everyone,  I has seen the manual and /sys/ufs/ufs/README.* . I add the following to the kernel conf: options UFS_EXTATTR options UFS_EXTATTR_AUTOSTART options UFS_ACL  Then, I saw extattrctl and setextattr's manual. But I do not know what's meaning. For example, I has a user name Jack, who is a wheel member.  I want to deny him to access /boot/, how can I do? Thanks! Best Regards   Ouyang kai´ÓÍøÕ¾µÃµ½¸ü¶àÐÅÏ¢¡£MSN Explorer Ãâ·ÑÏÂÔØ£ºhttp://explorer.msn.com/lccn


Re: How use UFS_ACL function?

2002-04-18 Thread Ilmar S. Habibulin


On Fri, 19 Apr 2002, kai ouyang wrote:

  options UFS_EXTATTR
  options UFS_EXTATTR_AUTOSTART
  options UFS_ACL
Now you have to create backing storage for extended attributes, ALC in
your case. This can be achieved by the following commands:
# cd /
# mkdir .attribute .attribute/system
# cd .attribute/system
# extattrctl initattr -p / 388 posix1e.acl_access
# extattrctl initattr -p / 388 posix1e.acl_default

  For example, I has a user name Jack, who is a wheel member.
  I want to deny him to access /boot/, how can I do?
After reboot you will have the ability to set acls on your root
filesystem. So issue the command:
# setfacl -m u:Jack: /boot

and check it with getfacl /boot. The output should be like:
...
user:Jack:---
...



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message