*BSD News Article 86184


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in3.uu.net!206.229.87.25!news.sprintlink.net!news-peer.sprintlink.net!news-peer.gsl.net!news.gsl.net!news-lond.gsl.net!news.gsl.net!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!usenet
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: PPP connection from Win95
Date: 6 Jan 1997 02:18:00 GMT
Organization: Coverform Ltd.
Lines: 22
Message-ID: <5apnco$bg0@awfulhak.demon.co.uk>
References: <01bbfa77$0166ff00$3bd393ce@ns.trancer.com>
NNTP-Posting-Host: awfulhak.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33593

In article <01bbfa77$0166ff00$3bd393ce@ns.trancer.com>,
	"Thomas Greenwalt" <tomg@trancer.com> writes:
> Currently when users login to my system if they login with a pusername, it
> kicks off pppd as the shell.  However they still have to use a script to
> feed the username and password to login.  Is there someway to set up the
> system to recognize an attempt to connect via PPP and negoiate the login
> through PPP?

I'm not sure what you're asking here.  You can either run a 'getty' or
a 'ppp -direct' from /etc/ttys.  With a getty, the user will have to
do the login/password bit.  With ppp, you ought to enable PAP/CHAP
authentication (unless you're properly firewall'd).

I guess you could write a program that interprets input and figures out
if it's a ppp client or not.  If it's a ppp client, it could exec ppp
-direct, otherwise it could wait for a linefeed and run login with
whatever was typed as an argument (as getty does).  Should work ok.

-- 
Brian <brian@awfulhak.demon.co.uk>, <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk/>
Don't _EVER_ lose your sense of humour....