A non-shell outable editor

John R. Schutz john at csrnxt1.ae.utexas.edu
Wed Aug 15 12:02:30 AEST 1990


Hello once again!  I thank the many people who sent replies to my
earlier question about limiting access to a certain user to only run
our nn newsreader.  Anyways, here is a summary of responses:

One person said (this is basically what it meant): forget it, if you
	want to restrict access, restrict COMPLETE access, i.e. don't
	let them on.

Many, many people said that I should edit the .login or .profile file
	to automatically go into nn.  The problem with this is that nn
	has a shell escape, but I am hacking that bit out for this
	user Also, the editor I use has a shell escape, but I don't
	have the source for this.

One person said that I should write a C program to do something
	similiar to the above.  But it also has the same holes.

One person said use rsh, or the "restricted shell".  This seemed like
	the best solution at the time, but I checked and the only rsh
	I have stands for "remote shell".  I am currently looking into
	this.  Pointers to source would be appreciated.

So this leaves me at the point of finding an editor that has no
shell-escaping capabilities.  Any ideas on this one?  <Waits for
another mailbox flood.>  

Anyways, thanks everyone for the replies.  If anyone needs the
examples that these many kind people sent, send mail, and I will send
back all the replies I received.  Thank you.

						john

	
--
|  John R. Schutz             | Internet&NeXTmail: john at csrnxt1.ae.utexas.edu |
|  Center for Space Research  | Standard Disclaimer    |  "I'm mentally       |
|  Programmer (NeXT)	      | unstable, cracked, and clinically insane.     |
|  Etc.			      | Besides that, I'm perfectly normal."  -me     |



More information about the Comp.unix.questions mailing list