[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Passing parameters to a telnet session?



On Mon, 2003-08-04 at 12:48, Marc Shapiro wrote:
> Does anyone know if there is a way to pass a parameter to a telnet session?
> 
> I have set up a user on one box that does not require a password to log 
> in.  I telnet to his account from another box using:
> 
> 	telnet hostname -l username
> 
> I want to be able to pass a parameter of some kind, or set an 
> environment variable that I can test in .bash_profile and determine the 
> specific action to be taken depending on its value.  Is this possible, 
> or am I barking up the wrong tree?

Maybe package libnet-telnet-perl.

-- 
+-----------------------------------------------------------------+
| Ron Johnson, Jr.        Home: ron.l.johnson@cox.net             |
| Jefferson, LA  USA                                              |
|                                                                 |
| "I'm not a vegetarian because I love animals, I'm a vegetarian  |
|  because I hate vegetables!"                                    |
|    unknown                                                      |
+-----------------------------------------------------------------+




Reply to: