|
|
if (user[0] == 0) | if (user[0] == 0) |
strlcpy(user, our_name, sizeof(user)); | strlcpy(user, our_name, sizeof(user)); |
| |
|
script_setenv("LOCALNAME", user, 0); |
|
|
/* | /* |
* If we have a default route, require the peer to authenticate | * If we have a default route, require the peer to authenticate |
* unless the noauth option was given or the real user is root. | * unless the noauth option was given or the real user is root. |
|
|
The authenticated name of the peer. This is only set if the peer | The authenticated name of the peer. This is only set if the peer |
authenticates itself. | authenticates itself. |
.TP | .TP |
|
.B LOCALNAME |
|
The username passed to the user option of the pppd daemon. This is |
|
handy to identify which account we are attempting to connect with |
|
when multiple accounts is available. |
|
.TP |
.B SPEED | .B SPEED |
The baud rate of the tty device. | The baud rate of the tty device. |
.TP | .TP |