Kins Orekhov wrote:
> Hello there!
>
> I've setup dial-in server (RH6.0/2.2.14/Digiboard PC/Xem /ppp-2.3.10).
> Everything works fine BUT I don't see who is logged in via pppX
> interfaces. But `last` shows everything just fine.
> On our old (bad) dial-in server with ppp 2.2 it was possible to see all
> users by command `who` and/or `w`.
> Now I'm able to see it.
>
> Is there any solution for this?
>
1) use options require-pap & login
2) but i use "ip-up" and "auth-down" scripts,
that allow use different password for PPP and for mail (i need it)
/etc/ppp/ip-up:
--------------------
#!/bin/sh
case $0 in
*ip-up)
cmd=a
;;
*auth-down)
cmd=d
;;
esac
sessreg -$cmd -h $IPREMOTE -l `echo $DEVICE | cut -f3 -d/` $PEERNAME
--------------------
and "ln -s /etc/ppp/ip-up /etc/ppp/auth-down"
PS: both method work only for registred (in passwd) users.
Dmitry Gercog.
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]