home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!comp.vuw.ac.nz!canterbury.ac.nz!equinox.gen.nz!equinox.gen.nz!sbrorens!steve
- From: steve@sbrorens.equinox.gen.nz (Steve Brorens)
- Newsgroups: comp.unix.questions
- Subject: Using GROUPS to control access ????
- Distribution: world
- Message-ID: <726865457snx@sbrorens.equinox.gen.nz>
- Date: Tue, 12 Jan 93 19:04:17 GMT
- Organization: Communication Architects
- Lines: 52
-
- A couple of questions on the use of group membership to control
- access to directories:
-
- BACKGROUND: A while ago I was involved with a fairly complex commrcial
- install of SCO UNIX (v3.2.2). Coming from a NetWare (no flames plse!)
- background, I'm used to being able to set up (using Directory Trustee Lists)
- a structure like:
- Directory: /data/accounts
- Members of group ACCOUNTS are granted full access
- Memebrs of group MANAGERS are granted read only rights
- User FRED is granted full access
- ....so if SUE is a member of groups ACCOUNTS and MANAGERS, then she
- has full access.
- I gather the std term for this approach is AccessControlLists. (?)
-
- In SCO v3.2.2 as shipped a user can belong to multiple groups, but only the
- one he is "newgrp"d to at the time is checked when access is attempted. BUT
- when we set up a script:
- newgrp accounts
- cd /data/accounts
- fireup accountsprog
- cd
- menu
- ...then it fails on the first line 'cos newgrp does a FORK and the script is
- "left behind" in the old shell
- (I understand that NOW...in the current version... all of the groups that a
- user is a member of are checked for file access, and that the current
- "newgrp" group is used just where we are creating a new file/dir)
-
- QUESTIONS:
-
- Q1: Do most Unix flavours check all the groups that the user belongs to when
- determining access rights?... and what is the "correct" behaviour?
-
- Q2: How common is it for unix flavours to implement a type of "Access Control
- List" (I beleive AIX does) and how widely are they used (I've been
- told that this type of control under VAX VMS (Yes I KNOW it's not a
- unix!) is seldom used for performance reasons)
-
-
-
-
-
-
-
-
- Cheers,
-
- Steve Brorens CNE (STEVE@sbrorens.equinox.gen.nz)
- Christchurch
- NEW ZEALAND
-
-