Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!uunet!mcsun!ukc!warwick!cudcv From: cudcv@warwick.ac.uk (Rob McMahon) Newsgroups: comp.unix.questions Subject: Re: /rsh and /usr/bin/mailx - are they incompatible? Keywords: rsh,mailx,restricted,mail Message-ID: <1990Jul24.141800.15561@warwick.ac.uk> Date: 24 Jul 90 14:18:00 GMT References: <1733@tssi.UUCP> <2834@awdprime.UUCP> Sender: news@warwick.ac.uk (Network news) Organization: Computing Services, Warwick University, UK Lines: 19 In article <2834@awdprime.UUCP> tif@doorstop.austin.ibm.com (Paul Chamberlain) writes: >In article <1733@tssi.UUCP> nolan@tssi.UUCP (Michael Nolan) writes: >>When I try to use /usr/bin/mailx, I get the following message: >> sh: /usr/ucb/more: restricted > >Try setting PAGER=more and making sure more is in the search path. But doesn't this blow away the whole point of using rsh, because you can get out of more into vi via `v', set your shell to anything you want, and then shell out ... (speaking as a BSD user who only remembers rsh from days of abortively trying to make a secure environment). As I recall we couldn't allow any mail readers or pagers, and the only editor we could give out was ed ... real useful. Rob -- UUCP: ...!mcsun!ukc!warwick!cudcv PHONE: +44 203 523037 JANET: cudcv@uk.ac.warwick INET: cudcv@warwick.ac.uk Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England