1838661 Members
11449 Online
110128 Solutions
New Discussion

Re: Access control List

 
Osama88
Occasional Advisor

Access control List

Hi all,

I have need to have a more complex permissioning for my UNIX directories than the normal Read-Write-Execute type found in all UNIX.

The goal to the achieve permissioning similar to WinNT. Where I can assigned more than 1 group to a directory.

Thanks and best regards
4 REPLIES 4
K.Vijayaragavan.
Respected Contributor

Re: Access control List

chacl
======

Check the usage of the command "chacl" . It proviedes you with the facility to have access control database for each file or directory.

see the manpages of chacl.

Regards,
Vijay.
"Let us fine tune our knowledge together"
JohnF_2
New Member

Re: Access control List

Hi Vijay,
Do you have any sample can share for us?
Thanks!
Nothing in the world can take the place of persistence
Marcin Wicinski
Trusted Contributor

Re: Access control List

Hi,
Here is a n example of chacl usage:

chacl "dupa.%+r, %@-w" file1 file2

This command grants access for user dupa in any group and removes write access for any user in the file's groups for files file1 and file2.
Later,
Marcin Wicinski
melvyn burnard
Honored Contributor

Re: Access control List

If you are going to do this on a Vxfs file system ,you need to have the latest version, minimum 3.3 of JFS, an dthe new commands for ACL support are setacl and getacl.
The chacl commands are only for HFS file systems.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!