/rsh and /usr/bin/mailx - are they incompatible?

Mike Wescott wescott at Columbia.NCR.COM
Sat Jul 21 03:19:20 AEST 1990


In article <1733 at tssi.UUCP> nolan at 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 at ncrcae.Columbia.NCR.COM



More information about the Comp.unix.questions mailing list