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
: 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
Hello Randal,
In your -
If ( aman eq "same person who asked in a diff forum")
{
print "JERK";
}
Else
{
print "Valuable archive of answers to similar question" ;
}
I pass through the else block as you had earlier answered to one Joe
Catanzaro though his question was strikingly sim
-
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
I don't think you can send attachments using Net::SMTP.
Use Mail::Sender by Jenda Krynickyit works !
And what's best is that Jenda is always around in this list raring to
help...so u've got real time support ;-)
And yes you do indeed need a mail server to connect to...
Cheers
-aman
-O
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 <
Thanks for the response David.
When I do 'Archive::Tar->create_archive("/tmp/test.tar",0,glob("*.pl"))' it
tars all the .pl files in the current working directory.
However, I need to tar a folder which has many folders inside it.
I tried 'Archive::Tar->create_archive("/tmp/test.tar",0,glob("*.*"
after logging in the prompt becomes :
[EMAIL PROTECTED] $
What should I add after "Prompt => " while creating a new session ?
No matter what I try it always aborts with the msg : "timed-out waiting for
login prompt at J:\net.pl line 10" :((
Thanx a lot
Aman
-
Thanx Paul
That explains the behaviour very clearly.
I rushed to my code and replaced all the my ($var) with my $var :)
-Original Message-
From: Paul Johnson [mailto:[EMAIL PROTECTED]
Sent: 10 February 2004 19:20
To: Thind, Aman
Cc: '[EMAIL PROTECTED]'
Subject: Re: my ($va
Hello Friends,
I wish to archive a folder into a .tar
I've been searching through the documentation of archive::tar module but
could not find a way by which I could make the .tar just by specifying the
folder name (like on unix prompt "tar -cvf myarchive.tar myfoldername") and
not explicitly stat
Hello Friends,
I was just writing some code and observed that :
My ($cur_line) = ;
While ($cur_line = )
{
.
Even though is a handle of a file with many lines, control does not
enter the while loop.
However when I do :
My ($cur_line);
$cur_line = ;
While ($cur_line = )
{
.
Hello Charles,
We have a 100 mbps LAN running tcp\ip...typical to company networks.
Thanks
Aman Thind
-Original Message-
From: Charles K. Clarkson [mailto:[EMAIL PROTECTED]
Sent: 05 February 2004 11:31
To: [EMAIL PROTECTED]
Subject: RE: Remote script execution
Thind, Aman <[EM
Hello Friends,
I would be really grateful if someone could help me out with this.
I want to write a script that when executed will get lots of details from 10
different Unix(AIX) and Windows(XP) boxes and generate a report.
The details to be gathered about the machines include :
1) Names and ve
13 matches
Mail list logo