[comp.unix.questions] How to prevent vi from getting to shell.

steve@npdiss1.StPaul.NCR.COM (Steve Engelhardt) (09/21/90)

Setting the variable SHELL will prevent a user from exiting to shell
and making the SHELL variable to readonly will prevent him/her from
changing the SHELL variable.
SHELL=/bin/true
readonly shell

-- 
Steven Engelhardt    NCR Comten          steve.engelhardt@stpaul.ncr.com
Development Computer Center, MS: S015 ..uunet!ncrlnk!ncrstp!c10sd4!steve
2700 Snelling Ave. N.  StPaul, MN 55113     612-638-7223   NCR-652-7223
Do not try and adjust your set:     We are controlling transmission.