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