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

Ray Harris harris at sauron.Columbia.NCR.COM
Wed Jul 25 22:11:39 AEST 1990


In article <1738 at tssi.UUCP> nolan at tssi.UUCP (Michael Nolan) writes:
>Thanks to several persons for the info on the PAGER variable.  I had to 
>change it in the /usr/lib/mailx/mailx.rc file, but now the pager works OK.
>
>However, now I get the following message when exiting mailx:
>
>sh: /usr/lib/mailx/rmmail: restricted
>
>Mike Nolan


The man page discussion of rsh suggests setting up /usr/rbin and putting
it in the rsh user's PATH (This must be done in the .profile).  You can
then create links to the appropriate commands that the user needs to
execute.  If you make /usr/rbin the entire PATH, this gives better
control over what the user can execute, i.e., he can't execute
everything in /usr/ucb, only those commands that are linked into
/usr/rbin.  We've done this on a 32/800 here, and it seems to work well.

Ray Harris
-- 
ray.harris at Columbia.NCR.COM (Ray Harris)    
...!uunet!ncrlnk!ncrcae!harris		...!gatech!hubcap!ncrcae!harris



More information about the Comp.unix.questions mailing list