disallowing subshell in More

Ron Flax ron at men1.UUCP
Sat Feb 9 12:04:58 AEST 1985


Does anyone know of a way to pipe a file to more and disallow a user from
invoking a subshell while More is running?

Here's the senario, I have a menu that allows certain users to have root access
to several functions (unjamming the print queue, archiving & restoring files, 
etc).  One of the options is to allow the user to get a listing of a tape
archive to the screen (piped through More) which of course allows the user to
type a '!sh<return>' and viola! a root shell.

Is there a hidden option to more?  Or another version or maybe an alias name,
like page to make more act a little differently?

As always thanks in advance!

Ron at men1	(Ron Flax)
MTACCS Engineering Network
..!{seismo,umcp-cs}!{prometh,cal-unix}!men1!ron

     "The opinions expressed herein are mine only if you agree with them."



More information about the Comp.unix.wizards mailing list