Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/5/84; site men1.UUCP
Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!dcdwest!ittvax!decvax!wanginst!ucadmus!harvard!seismo!umcp-cs!prometheus!men1!ron
From: ron@men1.UUCP (Ron Flax)
Newsgroups: net.unix-wizards,net.wanted
Subject: disallowing subshell in More
Message-ID: <362@men1.UUCP>
Date: Fri, 8-Feb-85 21:04:58 EST
Article-I.D.: men1.362
Posted: Fri Feb 8 21:04:58 1985
Date-Received: Mon, 11-Feb-85 05:20:33 EST
Distribution: net
Organization: MTACCS Engineering Network, Arlington VA
Lines: 19
Xref: watmath net.unix-wizards:11966 net.wanted:5747
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' 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@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."