Jure Krasovic wrote:

> I have pap-secrects file correctly written because I can connect to
> machine

> Is there solution for that. I would like to see who is connected to
> machine with ppp if I say who or last.

Caveat: I wouldn't necessarily advocate this.

For this to work, the user must actually be logged i. Using PAP-secrets
in no way logs the user in. If you use the "login" option to pppd, it
will use the system passwd entries for PAP authentication, and
"simulate" a login.

Since a user using PPP has access only to a network interface, I would
not regard them as being logged in, and would not want them to show up
as such in utmp or other logs. If you want to know who's on, why not use
the auth-up script to log who's connecting to a file somewhere, and
write a script to parse this to show who's on in a similar manner to
"who". A similar script could likewise do a similar job to "last".
--
Nick Phillips ([EMAIL PROTECTED])

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to