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 TillEnd
admin
test
TillEnd
But
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
: 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 a different username.
This su requires
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 similar
To: 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 was strikingly similar to mine.
I just find
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(*.*))' and
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
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 ($var
= 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
-Original Message-
From: Thind, Aman [mailto:[EMAIL PROTECTED]
Sent: 05 February 2004 10:55
To: [EMAIL PROTECTED]
Subject
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
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 [EMAIL
11 matches
Mail list logo