From owner-freebsd-questions Sun Dec 1 17:39:00 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA11915 for questions-outgoing; Sun, 1 Dec 1996 17:39:00 -0800 (PST) Received: from central.picker.com (central.picker.com [144.54.31.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id RAA11910 for ; Sun, 1 Dec 1996 17:38:58 -0800 (PST) Received: from ct.picker.com by central.picker.com with smtp (Smail3.1.28.1 #3) id m0vUNJH-0004ruC; Sun, 1 Dec 96 20:36 EST Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA18775; Sun, 1 Dec 96 20:33:54 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id UAA14788; Sun, 1 Dec 1996 20:33:08 -0500 Message-Id: Date: Sun, 1 Dec 1996 20:33:08 -0500 From: rhh@ct.picker.com (Randall Hopper) To: darrylb@blinx.lizard.org (Darryl Bowler) Cc: questions@freebsd.org Subject: Re: Password and Telnet References: <199611281301.NAA20368@blinx.lizard.org> X-Mailer: Mutt 0.53 Mime-Version: 1.0 In-Reply-To: <199611281301.NAA20368@blinx.lizard.org>; from Darryl Bowler on Nov 28, 1996 13:01:52 +0000 Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Darryl Bowler: |This may sound like a dumb question to ask, but... | |At work I have lots of devices that I want to log into but only can via |telnet. I want to do this by a script of sorts, but the problem I have |is how do I pass a password to telnet via a script. The most convenient way I've found to do this is with Perl. I've been using David Noble's Sock.pm and Telnet.pm modules, but as I can't seem to track down where I got these to provide a pointer, you may just want to start with the relevent FAQ entry instead: http://www.perl.com/perl/faq/Q5.20.html http://www.perl.com/ftp/perl/CPAN/doc/FAQs/FAQ/html/Q5.20.html http://www.perl.com/perl/doc/FAQs/FAQ/html/Q5.20.html Randall Hopper rhh@ct.picker.com