home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / programm / 5730 < prev    next >
Encoding:
Internet Message Format  |  1992-12-20  |  1.2 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!agate!ames!daffodil!horsa.cs.odu.edu!basil
  2. From: basil@horsa.cs.odu.edu (Keith Basil)
  3. Newsgroups: comp.unix.programmer
  4. Subject: how to revert back to the effective uid?
  5. Summary: Unix BBS's and setuid.
  6. Keywords: bbs setuid uid
  7. Message-ID: <1992Dec18.014737.23140@cs.odu.edu>
  8. Date: 18 Dec 92 01:47:37 GMT
  9. Sender: news@cs.odu.edu (News File Owner)
  10. Organization: Old Dominion University, Norfolk, Va
  11. Lines: 16
  12. Nntp-Posting-Host: horsa.cs.odu.edu
  13.  
  14.  
  15.     I'm having similiar problems with the BBS and setuid problem. What
  16.  I have done so far is to like the BBS run setuid as a users shell.  With
  17.  this setup users can drop to shell and user thier real uids.  But when 
  18.  they exit shell, the effective uid stays the same as the real UID and the
  19.  user then can't write to the BBS files or post messages because these 
  20.  functions require the BBS's uid to work properly.
  21.  
  22.     My question: Is there a way to revert back to the original SUID
  23.     status when the program was first run?! 
  24.  
  25.  I need the BBS's functionality for ease of use and access control (more
  26.  levels)... the help system is nice also.. Are there any programs that
  27.  give these features and the power of unix as well?
  28.  
  29.  basil@cs.odu.edu
  30.