Article View: news.software.readers
Article #12229Re: Stopping ^Z and "!" in tin
From: Mathias Koerber
Date: Sat, 29 Oct 1994 07:43
Date: Sat, 29 Oct 1994 07:43
35 lines
1992 bytes
1992 bytes
In (<38sdk6$odq@status>) Terry Hardie (python@linux.bytes.iconz.co.nz) wrote: | Can anyone tell me how to stop users press CTRL-Z or "!" in tin? I am asking | this becaus eI have set up an account on my system whereby the user can only | run tin and not any other shell command. Sure: in the user's .profile: SHELL="" export SHELL readonly SHELL exec tin This will disable the SHELL run when '!' is pressed, and CTRL-Z will not work, because the underlying shell is gone if you exec the program.. cheers | Please send any responses via e-mail. | Thanks in advance. | Terry -- Mathias Koerber Tel: +65 / 778 00 66 x 29 SW International Systems Pte Ltd Fax: +65 / 777 94 01 14 Science Park Drive #04-01 The Maxwell e-mail: Mathias.Koerber@swi.com.sg S'pore 0511 <A HREF=http://www.swi.com.sg/public/personal/mk.html>MK</A> "Germans, of course, have no love life. They can't, since whispering "I love you" to your sweetie sounds just the same as telling her that you wish to eviscerate her corpse and place the head on a spear in the front yard as a warning to others." -- Dan Sorenson
Technical Details
Message-ID:
<38sufa$vv@raffles.technet.sg>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!news.mathworks.com!usenet.eel.ufl.edu!piaget.moe.ac.sg!raffles.technet.sg!mathiasReferences:
<38sdk6$odq@status>Show Full Headers
Complete Article Headers
Message-ID: <38sufa$vv@raffles.technet.sg> Subject: Re: Stopping ^Z and "!" in tin Date: Sat, 29 Oct 1994 07:43:38 +0000 From: mathias@unicorn.swi.com.sg (Mathias Koerber) References: <38sdk6$odq@status> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!news.mathworks.com!usenet.eel.ufl.edu!piaget.moe.ac.sg!raffles.technet.sg!mathias Newsgroups: news.software.readers Organization: Technet, Singapore Lines: 35 Reply-To: Mathias.Koerber@swi.com.sg NNTP-Posting-Host: unicorn.swi.com.sg X-Newsreader: TIN [version 1.2 PL2]