Quote:
Originally Posted by jim mcnamara
Deny execute access to users in group DeptA on /filesystem1, grant execute access to DeptB on /filesystem1.
Have no world (or other) access on /filesystem1. Put all of DeptA into a single group, put all of DeptB into a separate group.
If your filesystems support acl's you can block access using acl's on a per user basis if you want. You only need to block access department-wide at one point -one directory - then all subsequent directories become unreachable. See man chacl
|
Jim,
Thanks for the reply.
However, is this giving rise to the dynamic permissions required? IE userA starts a session while physically sitting in deptA (which the software knows and passes to the .sh file) and can see deptA filesystem. Then same userA walks down the corridor to deptB and starts a session, and this time shouldn't be able to see deptA filesystem.
Is chroot a possible solution to this? Only just found it, so just looking over its potential now.
Thanks,
Steve