[lug] pap authentication

Gary Hodges Gary.Hodges at noaa.gov
Thu Jul 28 09:39:52 MDT 2005


Gary Hodges wrote:

> I'm setting up a couple machines so I can dial into them using ppp and 
> pap.  I have a few other machines doing the same thing, and I've tried 
> to replicate exactly those machines, but I've got something wrong.  To 
> make a connection I need a valid user with that user's 
> username/password in the pap-secrets file.  I'd prefer not to do it 
> this way, i.e., I don't want the add a user to the machine just to 
> make a connection.  Reading man pppd it looks like I don't want the 
> login option as that uses the system password database for 
> authentication.  In my options.server file login is commented out.  
> Looking for suggestions. 


Figured it out this morning.  I made the following change in the 
/etc/mgetty/login.config file:

#/AutoPPP/ -    a_ppp   /usr/sbin/pppd auth -chap +pap login debug
/AutoPPP/ -     a_ppp   /usr/sbin/pppd auth -chap +pap debug

Cheers,
Gary




More information about the LUG mailing list