10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am loooking for a python/perl script which can login to gmail or any mail accounts and open a browser with the logged in page. I am trying this in a windows environment. I tried many docs available over internet an nothing seems to be working. (4 Replies)
Discussion started by: Tuxidow
4 Replies
2. Shell Programming and Scripting
I have some sample code that's supposed to ssh to another machine using Net::SSH::Perl, execute a command, and print
the output of that command. It's very basic, and it works. However, I noticed that upon logging in:
$ssh->login('username','password');
It takes roughly 10-13 seconds to... (2 Replies)
Discussion started by: mrwatkin
2 Replies
3. Shell Programming and Scripting
Hi Experts,
I came across this interesting situation. I have following ssh script login to multiple server. This works fine for one set of servers (linux) but on my sun boxes i am getting. error
#!/usr/bin/perl -w
use Net::SSH::Perl;
use POSIX;
use Term::ANSIColor qw(:constants);
use... (2 Replies)
Discussion started by: mtomar
2 Replies
4. Shell Programming and Scripting
Hi,
Could some one tell me how to login to any web site and get that page using perl LWP. I heard that we can login to the site using LWP.
I dont want to use WWW:Mechanize as I dont have that module installed on the server.
Appreciate your early response.
Thanks... (8 Replies)
Discussion started by: Anjan1
8 Replies
5. Shell Programming and Scripting
Hi,
This is in PERL.
I am trying to remotely login to a server to access and grep a log file.
This is what I have defined in my Hash
%servers = ('box1' => 'userid1', 'box2' => 'userid2',
'box3' => 'userid3', 'box4' => 'userid4');
%log = ('box1' => ... (1 Reply)
Discussion started by: nurani
1 Replies
6. Shell Programming and Scripting
Hi ,
I am trying to write a script which does the wincvs login and does some checkout operations.
When i do it from command prompt with command
wincvs -d :pserver:username@server:/cvs/repository
it pops up a cvs window and i can do some operations there. I wanted to automate this through... (1 Reply)
Discussion started by: namishtiwari
1 Replies
7. Shell Programming and Scripting
Hi All,
I am trying to run the below cmd thro' a script.
awk 'NR>=48&&NR<=(58-1)' $IN_FILE_NAME | tee $OUT_FILE_NAME
but I am getting an err while running the script. It gives the below err msg :
awk: syntax error near line 1
awk: bailing out near line 1
(P.S Note: When run the... (6 Replies)
Discussion started by: askumarece
6 Replies
8. Shell Programming and Scripting
Hi,
I want to code a script with perl. For this, I need some knowledge.
How can i use system user name(with group) and password in my login page?
I will be happy if you can help me (2 Replies)
Discussion started by: tahsinaltay
2 Replies
9. Shell Programming and Scripting
Hi,
I'm currently working on a perl website, and I would need a system where a few users can login into the administration side of the site. about 5-10 users maximum, all pretty simple.
I was thinking of using an .htaccess file and a seperate admin folder on the server. I'm wondering if there... (2 Replies)
Discussion started by: LNC
2 Replies
10. Shell Programming and Scripting
I am trying to write a perl script that will do remote machine.
I have done user loging using simple command;
$telnet->login('test', 'test123');
But now I want to do root login or superuser login. So I tried the superuser command,
$telnet->cmd("su");
But I am not able to send the... (0 Replies)
Discussion started by: james2
0 Replies