|
|
HP-UX Reference > Pppp.Auth(4)HP-UX 11i Version 2: December 2007 Update |
|
NAMEppp.Auth — PPP authentication file format DESCRIPTIONThe file /etc/ppp/Auth contains values used by HP PPP's implementation of the link-level authentication protocols, CHAP (Challenge Handshake Authentication Protocol) and PAP (Password Authentication Protocol). This implementation of both CHAP and PAP conforms to RFC 1334, PPP Authentication Protocols. CHAP is a stronger authentication mechanism and should be used whenever possible, in preference over PAP. FormatEach authentication specification is on its own single line of up to 1023 characters. Comments begin with a `#' and extend to the end of the line; blank lines, or lines beginning with a `#', are ignored. Fields are separated by horizontal white space (blanks or tabs). If pppd is using CHAP authentication, the first word on the line must match the peer's Name as received in a CHAP Challenge or Response packet and the second word is used for the Secret. If pppd is using PAP authentication, the first word on the line must match the Peer-ID in a transmitted or received PAP Authenticate-Request packet and the second word is used for the Password. The default value used for the Name in transmitted CHAP packets or for the Peer-ID in transmitted PAP packets is the hostname(1) of the machine pppd is running on. In the midst of the Name/Peer-ID and Secret/Password strings, ^x is translated into the appropriate control character before matching, and \xxx represents the character corresponding to the octal number xxx. Other special sequences are:
The fields have the following meaning:
EXAMPLEThe following Auth provides pppd with a secret for use when a peer claims to be other-host, robin, or `Jack's machine'. # # Auth - PPP authentication name/secret file # Format: #name secret optional address restrictions other-host secret-key !137.175.9.2 137.175.9.*/0xffffff00 robin dK3ig8G8hs 137.175.11.4 Jack's\smachine I\sam\sa\sjelly\sdonut.
SEE ALSOppp.Devices(4), ppp.Dialers(4), ppp.Filter(4), ppp.Keys(4), ppp.Systems(4), services(4), pppd(1), RFC 792, RFC 1548, RFC 1332, RFC 1334. |
|