home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.bbs.waffle
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!ux1.cso.uiuc.edu!mp.cs.niu.edu!uxa.ecn.bgu.edu!psuvax1!postscript.cs.psu.edu!fenner
- From: fenner@postscript.cs.psu.edu (Bill Fenner)
- Subject: How to allow access to SYSMAIL but not SHELL? (was Re: Priv-problem
- Message-ID: <By70vF.7HI@cs.psu.edu>
- Sender: news@cs.psu.edu (Usenet)
- Nntp-Posting-Host: postscript.cs.psu.edu
- Organization: Penn State Computer Science
- References: <By50My.IGu@cs.psu.edu> <BasquB1w165w@codewks.nacjack.gen.nz>
- Date: Mon, 23 Nov 1992 23:50:02 GMT
- Lines: 32
-
- In article <BasquB1w165w@codewks.nacjack.gen.nz> system@codewks.nacjack.gen.nz (Wayne McDougall) writes:
- |Here's how to do it if you don't have the source command.
- |1. Remove the "shell" line from _system in the extern directory.
- |2. Add a file, say, TODOS to the extern directory, consisting of the
- |following:
- | /access=9 /command="c:\dos\%R" /shell
-
- Why not just change the "shell" entry in _system to this? And why do you
- want to load the command interpreter to run the command interpreter? And
- don't you mean /priv=9?
-
- |3. For those people you want to have acess to DOS, set the COMMENT in
- |their user profile to COMMAND, and for anyone else a non-DOS command.
-
- 4. Remove Comment: from your static file, so it doesn't appear in postings
- 5. Add ch_rank: 10 to your static file, so people can't change it
- 6. Hope that none of your non-trusted priv 9 users can figure out how
- to ADMIN E <self>
-
- |I know this is a kludge, but it works. Note that it would be nicer to
- |include /exclude based on the GROUP markers, but access level 9 seems
- |to be immune to group restrictions.
-
- priv 9 is immune to group restrictions; access 9 is not. You keep mixing
- the two, anyway.
-
- No solution will be safe from a priv 9 user; the EDIT command makes sure of
- that. Even if you made the "shell" extern prompt for a password, your
- theoretical priv 9 user could simply edit /waffle/extern/_system and change
- it back.
-
- Bill
-