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
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
#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
: 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
> "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
-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
> "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.
-
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
>
> 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
> 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
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 <
11 matches
Mail list logo