RE: How to su in a script if su needs a pswd ?

2004-02-18 Thread Thind, Aman
Thanks a lot David ! This sounds very do-able and highly efficient ;) -aman -Original Message- From: David le Blanc [mailto:[EMAIL PROTECTED] Sent: 18 February 2004 13:55 To: Thind, Aman; [EMAIL PROTECTED] Subject: RE: How to su in a script if su needs a pswd ? aman, Check out

RE: How to su in a script if su needs a pswd ?

2004-02-17 Thread David le Blanc
asons :-) Cheers. -Original Message- From: Thind, Aman [mailto:[EMAIL PROTECTED] Sent: Wednesday, 18 February 2004 2:18 AM To: David le Blanc Subject: RE: How to su in a script if su needs a pswd ? Thanks David ! The only reason I need to su is that the account I need to su to has wr

RE: How to su in a script if su needs a pswd ?

2004-02-17 Thread Wiggins d Anconia
#x27;t the case. http://danconia.org > -Original Message- > From: Kipp, James [mailto:[EMAIL PROTECTED] > Sent: 17 February 2004 19:35 > To: 'Thind, Aman'; Perl Beginners > Subject: RE: How to su in a script if su needs a pswd ? > > > > Hello, > &g

RE: How to su in a script if su needs a pswd ?

2004-02-17 Thread Thind, Aman
: Thind, Aman Cc: [EMAIL PROTECTED] Subject: Re: How to su in a script if su needs a pswd ? >>>>> "Aman" == Thind, Aman <[EMAIL PROTECTED]> writes: Aman> I pass through the else block as you had earlier answered to one Joe Aman> Catanzaro though his question wa

Re: How to su in a script if su needs a pswd ?

2004-02-17 Thread Randal L. Schwartz
> "Aman" == Thind, Aman <[EMAIL PROTECTED]> writes: Aman> I pass through the else block as you had earlier answered to one Joe Aman> Catanzaro though his question was strikingly similar to mine. I just find it odd that nobody asks a question like that for at least six months in my recollectio

RE: How to su in a script if su needs a pswd ?

2004-02-17 Thread Thind, Aman
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 17 February 2004 20:30 To: [EMAIL PROTECTED] Subject: Re: How to su in a script if su needs a pswd ? >>>>> "Aman" == Aman Thind <[EMAIL PROTECTED]> writes: Aman> I am running a command

Re: How to su in a script if su needs a pswd ?

2004-02-17 Thread Randal L. Schwartz
> "Aman" == Aman Thind <[EMAIL PROTECTED]> writes: Aman> I am running a command as part of my script on a Unix box for which I need Aman> to su to a different username. Aman> This su requires a password as well. A question just like this was posted to the Perl-Beginners Yahoo mailing list.

RE: How to su in a script if su needs a pswd ?

2004-02-17 Thread Thind, Aman
- From: Kipp, James [mailto:[EMAIL PROTECTED] Sent: 17 February 2004 19:35 To: 'Thind, Aman'; Perl Beginners Subject: RE: How to su in a script if su needs a pswd ? > Hello, > > I am running a command as part of my script on a Unix box for > which I need > to su to

Re: How to su in a script if su needs a pswd ?

2004-02-17 Thread Wiggins d Anconia
> > Hello, > > I am running a command as part of my script on a Unix box for which I need > to su to a different username. > > This su requires a password as well. > > I could not find any option of passing the password in su. > > Tried the shell script solution of here docs : > > su < admin

RE: How to su in a script if su needs a pswd ?

2004-02-17 Thread Kipp, James
> Hello, > > I am running a command as part of my script on a Unix box for > which I need > to su to a different username. > > This su requires a password as well. > > I could not find any option of passing the password in su. > > Tried the shell script solution of here docs : > > su < admin

How to su in a script if su needs a pswd ?

2004-02-17 Thread Thind, Aman
Hello, I am running a command as part of my script on a Unix box for which I need to su to a different username. This su requires a password as well. I could not find any option of passing the password in su. Tried the shell script solution of here docs : su <