Redhat and Who Command?

System Administrator (admin@castle.cdsnet.com)
Wed, 26 May 1999 14:52:23 -0500




On Tue, 25 May 1999, Len Ovens wrote:

> Cade wrote:
> > 
> >     I have a RedHat 5.2 system, am using the AutoPPP command that looks
> > like this:
> > 
> >     /AutoPPP/ -     -       /usr/sbin/pppd
> > 
> >     My question is, How do I see who is logged into the system via ppp?
> > 
> 
> I use this:
> 
> /AutoPPP/ -     a_ppp   /usr/sbin/pppd auth -chap +pap login
> 
> I don't know what the differences are, the who or w command shows the
> user up just fine.
> 
> -- 
> Len Ovens
> len@studio.cbbs.org
> 

This is currently the problem I'm also having with autoppp. 

If you specify AutoPPP with the - options

/AutoPPP/ -     -       /usr/sbin/pppd

It will not show the session as being logged in on the system 

if the @ options is used

/AutoPPP/ -     @       /usr/sbin/pppd

The username should be shown when w or who is issued. ( This does not
happen in my case I get a /AutoPPP as the username)

If the a_ppp option is used

/AutoPPP/ -     a_ppp       /usr/sbin/pppd

a_ppp will simply show as the person being logged in. 

I looked through the mailing list and someone posted a similiar problem
back in July of 98. The problem seems to be with pppd itself under Redhat
5.*. At that time they suggested looking into the latest ppp version
(2.3.5) which I'm currently running. From the readme of pppd-2.3.8 i dont
think this was fixed until now though. You may want to look into
installing that. This is the point where I'm at right now.

Cheers,

Nathan