home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / wizards / 3673 < prev    next >
Encoding:
Internet Message Format  |  1992-08-22  |  1.4 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!mips!darwin.sura.net!news.udel.edu!udel!gvls1!aviary!gofish!dymm
  2. From: dymm@cards.com (David Dymm)
  3. Newsgroups: comp.unix.wizards
  4. Subject: Restricted directory trees in Unix - how?
  5. Message-ID: <928@gofish.Stars.Reston.Unisys.COM>
  6. Date: 21 Aug 92 17:07:39 GMT
  7. Sender: news@Stars.Reston.Unisys.COM
  8. Lines: 29
  9.  
  10. I would like to set up a restricted directory tree
  11. on my Sun 4 system.  That is, certain users, when logging on,
  12. would be placed into accounts that would be located in a
  13. directory tree that would not have access to the rest of
  14. the system directory structure.  Individuals who did not have
  15. accounts in the restricted directory tree would be able to "see"
  16. into the restricted tree, but users with accounts in the restricted
  17. directory tree would not be able to "see" out.
  18.  
  19. My understanding is that I should probably use "chroot" from a
  20. C program, which would be executed from the passwd file.
  21. And the last thing the C program would do is a system call
  22. to the Unix shell (csh).  And of course, the restricted directory
  23. tree would have jto have its own bin, etc, and dev directories.
  24.  
  25. Any thoughts, comments, etc. that can be provided to help
  26. me in this implementation would be greatly appreciated.
  27.  
  28. Thank you.
  29.  
  30.  
  31. David Dymm - Principal Engineer
  32.  
  33. USMAIL: Electronic Warfare Associates
  34.         1401 Country Club Road
  35.         Fairmont, WV  26554
  36. PHONE:  304 367-0770
  37. FAX:    304 367-0775
  38. INTERNET: dymm@cards.com
  39.