Xref: utzoo comp.unix.questions:24053 comp.sys.ncr:422 Path: utzoo!attcan!uunet!bu.edu!snorkelwacker!usc!samsung!emory!hubcap!ncrcae!sauron!harris From: harris@sauron.Columbia.NCR.COM (Ray Harris) Newsgroups: comp.unix.questions,comp.sys.ncr Subject: Re: /rsh and /usr/bin/mailx - are they incompatible? Keywords: rsh,mailx,restricted,mail Message-ID: <2245@sauron.Columbia.NCR.COM> Date: 25 Jul 90 12:11:39 GMT References: <1733@tssi.UUCP> <2234@sauron.Columbia.NCR.COM> <1738@tssi.UUCP> Reply-To: harris@Columbia.NCR.COM (Ray Harris) Followup-To: comp.sys.ncr Organization: E&M-Columbia, NCR Corp, W Columbia, SC Lines: 23 In article <1738@tssi.UUCP> nolan@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@Columbia.NCR.COM (Ray Harris) ...!uunet!ncrlnk!ncrcae!harris ...!gatech!hubcap!ncrcae!harris