Groups members of other groups
Is it at all possible to have nested groups, i.e. groups that are members of other groups? I'd like to assign group permissions to a directory, and add groups of users to the group being used for the directory.
And assigning permissions to the resource:
drwxrwx--- root resource 4096 Jun 19 18:42 directory
and have user1 be able to have rw access to this directory.
Or does it not work this way? Any PAM modules that might do this?