The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Cut command on a remote machine using rsh eamani_sun Shell Programming and Scripting 1 06-04-2008 06:33 PM
Setting environment variable on a remote solaris machine using shell script eamani_sun Shell Programming and Scripting 1 05-30-2008 07:05 PM
Tar to remote machine hshapiro UNIX for Dummies Questions & Answers 1 08-02-2006 03:17 PM
Solaris 9 remote login (ssh) drops connection ahmerin UNIX for Advanced & Expert Users 2 01-15-2005 05:02 AM
No user able to login except root(superuser) konda UNIX for Advanced & Expert Users 2 06-25-2002 09:19 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-27-2006
Registered User
 

Join Date: Apr 2006
Posts: 1
Login to a remote solaris machine as superuser through perl

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 password , like,

$telnet->put("Password");

neither the command returns any text for prompt. How can I do this?

Same thing I am also trying to login to a remote mysql server, but it is not working.

Any suggestions ....
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 11:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0