home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.wizards
- Path: sparky!uunet!krfiny!jeffj
- From: jeffj@krfiny.uucp (J. Jonas)
- Subject: Re: Restricted directory trees in Unix - how?
- Message-ID: <1992Aug25.175519.12526@krfiny.uucp>
- Summary: use the group permissions
- Organization: Jeff's house of computer pieces
- References: <928@gofish.Stars.Reston.Unisys.COM>
- Date: Tue, 25 Aug 1992 17:55:19 GMT
- Lines: 24
-
- In article <928@gofish.Stars.Reston.Unisys.COM> dymm@cards.com (David Dymm) writes:
- >I would like to set up a restricted directory tree
- >on my Sun 4 system. That is, certain users, when logging on,
- >would be placed into accounts that would be located in a
- >directory tree that would not have access to the rest of
- >the system directory structure. ...
-
- The way my college did this was to create the restricted users
- in the 'peon' group-id.
- All restricted directories were owned by group peon but with NO permissions.
- That way, owner and all other have access but NOT peon.
- Although this is contradictory to the intent of permission GRANTING
- vs. permission denial, it works.
-
- Set root is tricky becuase you need hard links for all things in /dev,
- /tmp and other things that are below the new root.
-
- - Jeffrey Jonas
- jeffj@synsys.uucp
- --
- --
- Jeffrey Jonas
-
- jeffj@synsys.uucp
-