home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!mips!darwin.sura.net!news.udel.edu!udel!gvls1!aviary!gofish!dymm
- From: dymm@cards.com (David Dymm)
- Newsgroups: comp.unix.wizards
- Subject: Restricted directory trees in Unix - how?
- Message-ID: <928@gofish.Stars.Reston.Unisys.COM>
- Date: 21 Aug 92 17:07:39 GMT
- Sender: news@Stars.Reston.Unisys.COM
- Lines: 29
-
- 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. Individuals who did not have
- accounts in the restricted directory tree would be able to "see"
- into the restricted tree, but users with accounts in the restricted
- directory tree would not be able to "see" out.
-
- My understanding is that I should probably use "chroot" from a
- C program, which would be executed from the passwd file.
- And the last thing the C program would do is a system call
- to the Unix shell (csh). And of course, the restricted directory
- tree would have jto have its own bin, etc, and dev directories.
-
- Any thoughts, comments, etc. that can be provided to help
- me in this implementation would be greatly appreciated.
-
- Thank you.
-
-
- David Dymm - Principal Engineer
-
- USMAIL: Electronic Warfare Associates
- 1401 Country Club Road
- Fairmont, WV 26554
- PHONE: 304 367-0770
- FAX: 304 367-0775
- INTERNET: dymm@cards.com
-