[Ilugc] Re: Execting commands as different user
- From: srivasta@xxxxxxxxxx (Manoj Srivastava)
- Date: Wed Jan 24 11:10:46 2007
On Wed, 24 Jan 2007 10:09:15 +0530, Sivaram said:
try autoexpect. this will generate an expect script for you.
This again requires you to hard code the password into your
script -- which adds yet another security vulnerability to your
system. It is, in general, a bad idea to wrote down passwords at
all, it is worse to put them up on the machine itself; aney one
cracking into one account automatically gets access tothe second
account. You have, thus, lost one set of compartmentalizations
between security domains on you machine, were you to do this.
manoj
--
Four be the things I'd have been better without: love, curiosity,
freckles and doubt. -- Dorothy Parker
Manoj Srivastava <srivasta@xxxxxxx> <
http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Other related posts: