From owner-freebsd-questions Tue May 2 10:46:37 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA10967 for questions-outgoing; Tue, 2 May 1995 10:46:37 -0700 Received: from specgw.spec.co.jp (specgw.spec.co.jp [202.32.13.1]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id KAA10959 for ; Tue, 2 May 1995 10:46:34 -0700 Received: from localhost (uucp@localhost) by specgw.spec.co.jp (8.6.5/3.3Wb-SPEC) with UUCP id CAA08109; Wed, 3 May 1995 02:30:28 +0900 Received: by tama.spec.co.jp (8.6.11/6.4J.5) id CAA05582; Wed, 3 May 1995 02:26:01 +0900 From: Atsushi Murai Message-Id: <199505021726.CAA05582@tama.spec.co.jp> Subject: Re: iij-ppp ver 0.94 To: cp_nairn@cc.utas.edu.au (Carey Nairn) Date: Wed, 3 May 1995 02:26:01 +0900 (JST) Cc: amurai@spec.co.jp, questions@FreeBSD.org In-Reply-To: from "Carey Nairn" at May 2, 95 08:50:29 pm Reply-To: amurai@spec.co.jp X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1907 Sender: questions-owner@FreeBSD.org Precedence: bulk > > Hi, > > I was wondering if there was a way of passing variables to the login > script at the time of execution. The system I log into requires that a > ppp process is started form the terminal server command line (i.e. no PAP > authentication - the user logs in to the terminal server as a normal > login). The thing that worries me is that I have my password stored in > plain text in my ppp.conf file. What I would like to have is for the PPP > process to prompt me for my password when the login script starts. Is > this possible ?? I guess the system you log into is shared machine like a gateway machine, right ? And you want to connect the peer and gateway by PPP(iij-ppp) NOT a your terminal(?) and gateway. This means your peer's password in ppp.conf is out of your control..either plain text nor crypted one ;-) Anyway current iij-ppp doesn't has a such a functionality that passing a user and passwd by prompting you when connecting to a peer interractivly. But if you have a two connection to gateway, one is using for invoking a ppp as Interacctive mode. o Invoke a ppp with your configuration i.e. ppp specgw o Rewriting a login scritps with your password on ppp prompt i.e. set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp" o dial on ppp prompt. It's might be not smart but... > thanks, > ========================================================================= > Carey Nairn ! email : Carey.Nairn@its.utas.edu.au > Networks and Communications ! phone : (002) 20 7419 > Information Technology Services ! fax : (002) 20 7898 > University of Tasmania. ! > ========================================================================= Atsushi. -- Atsushi Murai Internet: amurai@spec.co.jp System Planning and Engineering Co,.Ltd. Voice : +81-33833-5341