Je ne suis pas très sûr de bien comprendre, mais voici à quoi
ressemble un fichier pap-secret.
Tu dois remplacer 11111 par ton identifiant de connection
et 2222222222 par ton mot de passe de connection en clair :-(
Et chez moi ça marche très bien depuis des mois. J'ai laissé les
commentaires si ça intéresse quelqu'un !
A+
Hervé Picon
---------------------------------------------------------------
# This is a pap-secrets file to be used with the AUTO_PPP function of mgetty
# mgetty-0.99 is preconfigured to startup pppd with the login option which
# will cause pppd to consult /etc/passwd after a user has passed this file
# Dont be disturbed therfore by the fact that this file defines logins with
# any password for users. /etc/passwd will catch passwd mismatches.
#
# This file should block ALL users that should not be able to do AUTO_PPP!
# AUTO_PPP bypasses the usual login program so its necessary to list all
# system userids with regular passwords here!
#
# ATTENTION: The definitions here can allow users to login without a
# password if you dont use the login option of pppd!
# The /etc/ppp/options file installed has the login option enabled
# INBOUND connections
# Every regular user can use PPP and has to use passwords from /etc/passwd
* fti/11111 "" *
# UserIDs that cannot use PPP at all. Check your /etc/passwd and add any
# other accounts that should not be able to use pppd!
guest fti/11111 "*" -
master fti/11111 "*" -
root fti/11111 "*" -
support fti/11111 "*" -
stats fti/11111 "*" -
# OUTBOUND connections
# Here you should add your userid password to connect to your providers via
# pap. The * means that the password is to be used for ANY host you connect
# to. Thus you do not have to worry about the foreign machine name. Just
# replace password with your password.
# If you have different providers with different passwords then you better
# remove the following line.
fti/11111 * 2222222222