SuSE GmbH

SuSE Support Database

Title: PPP: Authentication on PAP, CHAP

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

PPP: Authentication on PAP, CHAP

How can I pass the authentication data during the PPP handshake?

Enter your login names and passwords into the file /etc/ppp/pap_secrets and /etc/ppp/chap_secrets (according to the protocol).

Example for a /etc/ppp/pap_secrets file:

#User      Server              Secret       adresses
emil       *                   Passwort     

Dialin-Server

If an (i)pppd should be dial-in server, enter the following into the corresponding option-file (PAP in this case) :
-chap
+pap
The usernames/passwords are read accordingly from /etc/ppp/pap-secrets. You can also read the passwords from /etc/passwd (or /etc/shadow). Simply enter an additional line login into the options :
-chap
+pap 
login
It is not necessary in this case that /etc/ppp/pap-secrets exists at all. If it does exist it should contain at least the following line :
*   *   ""
The access can then be denied by entering the user with an invalid password :
Username   *   -

Hint :

After configuration changes (i)pppd must be restarted.

See also :

You will find further information in Linux Network Administrators Guide by Olaf Kirch (it can be ordered at S.u.S.E.).

The Microsoft Network (MSN) protocol is supported from version ppp-2.2.0f on.

----------

See also:

----------

Keywords: PPP, PAP, CHAP, MSN

----------

Categories: Network , PPP , Provider

----------

Feedback welcome: Send Mail to srb@suse.de (Please give the following subject: SDB-kfr_17)

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-kfr_17, Copyright SuSE GmbH, Nuremberg, Germany - Version: 10. Mar 1998
SuSE GmbH - Last generated: 07. Oct 1999 16:53:10 by maddin with sdb_gen 1.00.0