*BSD News Article 63968


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!odin.oar.net!malgudi.oar.net!imci4!newsfeed.internetmci.com!news.ac.net!news.cais.net!news2.cais.com!cais.cais.com!mcgraw
From: mcgraw@cais.cais.com (McGraw-Hill CEC)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: "login" option in pppd
Date: 22 Mar 1996 16:00:55 GMT
Organization: Capital Area Internet Service info@cais.com 703-448-4470
Lines: 20
Message-ID: <4iuirn$hoh@news2.cais.com>
References: <4imje2$shc@daily-planet.execpc.com>
NNTP-Posting-Host: cais.com
X-Newsreader: TIN [version 1.2 PL2]

Jeff Kane (jkane@earth.execpc.com) wrote:
: I have gotten pppd to operate somewhat.  But I am confused on the use of 
: the "login" option for it.  Can someone please clarify it?

: To use the /etc/passwd, does getty need to answer the line? Or can pppd 
: do that and still use /etc/passwd?


Uh-oh.  If you MUST (and please, don't:  use interactive ppp) use 
pppd, use the options file, which MIGHT look something like this:

/dev/cuaa1 38400 connect "/usr/sbin/chat -f /etc/ppp/<loginfile>"\
modem mtu 576 asyncmap 0 crtscts defaultroute

and a loginfile which MIGHT look something like this:

""ATDT XXX-XXXX CONNECT "" ogin: <uname> ssword: <upwd>


Watch those quotes:  they're killers.