Xref: utzoo comp.unix.questions:23918 comp.sys.ncr:405 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!sol.ctr.columbia.edu!emory!hubcap!ncrcae!sauron!wescott From: wescott@Columbia.NCR.COM (Mike Wescott) Newsgroups: comp.unix.questions,comp.sys.ncr Subject: Re: /rsh and /usr/bin/mailx - are they incompatible? Keywords: rsh,mailx,restricted,mail Message-ID: <2234@sauron.Columbia.NCR.COM> Date: 20 Jul 90 17:19:20 GMT References: <1733@tssi.UUCP> Sender: news@sauron.Columbia.NCR.COM Reply-To: wescott@micky.Columbia.NCR.COM (Mike Wescott) Organization: E&M-Columbia, NCR Corp, W Columbia, SC Lines: 18 In article <1733@tssi.UUCP> nolan@tssi.UUCP (Michael Nolan) writes: > I'm trying to set up some restricted accounts Don't rely on rsh to be very secure, I've been told that it is fairly easy to break. > When I try to use /usr/bin/mailx, I get the following message: > sh: /usr/ucb/more: restricted > I'm assuming this is because mailx is trying to use more and can't, because > rsh doesn't allow execution of programs with paths using '/'. Correct. I suspect that the environment variable PAGER is set to /usr/ucb/more. Change it so that it is no longer an absolute pathname and it should work. -- -Mike Wescott mike.wescott@ncrcae.Columbia.NCR.COM