* SUMMARY: how to log a user in inside a script
@ 2001-03-09 18:35 Jerry Brady
0 siblings, 0 replies; only message in thread
From: Jerry Brady @ 2001-03-09 18:35 UTC (permalink / raw)
To: tru64-unix-managers
Thanks to
Ashok Bala,Larye Parkins,Bluejay Adametz and Pat O'Brien for the
suggestions. The one that fit my situation the best is from
Jim Fitzmaurice which is:
The login process is an interactive process and scripts can't handle
interactive processes very well. It has to wait for one command to finish
before it goes onto the next. So if you have an su in the scripts the
scripts will not continue until the su exits, and this is not what you want.
To do this you need "expect" it is a TCL/TK extension written especially
for handling interactive commands like su, rlogin, rsh, etc... All three are
open source (free), easy to compile even on Tru64, and once you start using
it, you'll wonder how you got along without it. To find it search for expect
under your favorite search engine. (yahoo, oingo, google, etc...)
Thanks to all
Jerry
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-03-09 18:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-09 18:35 SUMMARY: how to log a user in inside a script Jerry Brady
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox