[comp.unix.i386] Lachman TCP/IP on System V/386 has rsh, after all.

peter@ficc.uu.net (Peter da Silva) (03/10/90)

Thanks for all the help, folks. As I sort of suspected, they called it
something else to avoid conflicting with the (totally useless) restricted
shell. Unfortunately, while I was looking up "remsh" and "rshl" in the
manual and bin, I totally missed "rcmd".

One thing I noted: as installed, rexecd on the Lachman TCP/IP doesn't come up
with a very complete environment. You have to edit the rc script to set HZ.
About the only thing missing from the nifty System V inittab scheme is the
ability to easily set global environment variables for all one's daemons. Not
that I'd want to go back to a random /etc/rc file again.
-- 
 _--_|\  `-_-' Peter da Silva. +1 713 274 5180. <peter@ficc.uu.net>.
/      \  'U`
\_.--._/
      v

cpcahil@virtech.uucp (Conor P. Cahill) (03/11/90)

In article <1U42U.Cxds13@ficc.uu.net> peter@ficc.uu.net (Peter da Silva) writes:
>About the only thing missing from the nifty System V inittab scheme is the
>ability to easily set global environment variables for all one's daemons. Not
>that I'd want to go back to a random /etc/rc file again.

There is a way.  INIT reads the /etc/TIMEZONE file and processes all 
the 

	variable=value

records, placing the appropriate setting into it's (init's) environment which
will be passed to all child processes of init.

If you place too many variables into the file (and I don't know the count) 
init will just silently ignore the extra ones.

-- 
Conor P. Cahill            (703)430-9247        Virtual Technologies, Inc.,
uunet!virtech!cpcahil                           46030 Manekin Plaza, Suite 160
                                                Sterling, VA 22170