Subj : Re: Not another AutoPPP question
<H1>Re: Not another AutoPPP question</H1>
<HR>
<PRE>
<strong>From </strong> andrew sun <<A HREF="mailto:asrock@sunbird.ieps-sun.ml.com">asrock@sunbird.ieps-sun.ml.com</A>>
<strong>Organization </strong> none
<strong>Date </strong> Wed, 08 Jul 1998 20:44:09 -0400
<strong>Newsgroups </strong> <A HREF="news:comp.protocols.ppp">comp.protocols.ppp</A>
<strong>Message-ID </strong> <35A41259.149CF9E6@sunbird.ieps-sun.ml.com>
<strong>References </strong> <A HREF="/cgi-bin/news?id@6no0am%24lo%241@wapull.telstra.net">1</A>
</PRE>
<HR>
<PRE>
Greg Dickson wrote:
> Im sorry about asking this as Im sure it must have been asked before
> but I cant find any info about it
>
> we have just got <strong>AutoPPP</strong> going on our system and would like to get it
> loggin the username into the utmp
>
I assume you mean youwant to record the PPP PAP authentication name in
utmp?
It looks like that's just the way things are with <strong>mgetty</strong> and the
autoppp feature.
Once pppd starts, <strong>mgetty</strong> is out of the way.
So its pppd that has to obtain
and record usernames in utmp, like /bin/login does.
Well, to my knowledge, pppd doesn't do this, so you
won't see what your looking for in a who listing.
> the login.config says
>
> # utmp_entry is what will appear in the "who" listing. Use "-" to not
> # set an utmp entry (a must for /bin/login), use "@" to set it to the
> # username entered. Maximum length is 8 characters.
> #
>
> But no matter what line I put
>
> /<strong>AutoPPP</strong>/ - <strong>a_ppp</strong> /usr/sbin/pppd auth -chap +pap login debug
> gives <strong>a_ppp</strong> in a who listing
>
> /<strong>AutoPPP</strong>/ - @ /usr/sbin/pppd auth -chap +pap login debug
> gives /<strong>AutoPPP</strong>/
>
> /<strong>AutoPPP</strong>/ - - /usr/sbin/pppd auth -chap +pap login debug
> gives no user record
>
> Is something broken or have I missed something or is that just the way
> things are with <strong>AutoPPP</strong>
>
> thanks heaps
>
> Greg Dickson
>
> **** Witchcliffe WA
> freelance programing
> * ;) *** witchy@netserv.net.au
> (java & perl)
> ***** <A HREF="http://www.netserv.net.au/witchy/">http://www.netserv.net.au/witchy/</A>
> Linux System Admin
> ************
> "I've been boiling this egg for hours and it's still not
> soft"
andrew
</PRE>
Subj : Re: Not another AutoPPP question
<PRE>
<strong>From </strong> andrew sun <<A HREF="mailto:asrock@sunbird.ieps-sun.ml.com">asrock@sunbird.ieps-sun.ml.com</A>>
<strong>Organization </strong> none
<strong>Date </strong> Wed, 08 Jul 1998 20:44:09 -0400
<strong>Newsgroups </strong> <A HREF="news:comp.protocols.ppp">comp.protocols.ppp</A>
<strong>Message-ID </strong> <35A41259.149CF9E6@sunbird.ieps-sun.ml.com>
<strong>References </strong> <A HREF="/cgi-bin/news?id@6no0am%24lo%241@wapull.telstra.net">1</A>
</PRE>
<HR>
<PRE>
Greg Dickson wrote:
> Im sorry about asking this as Im sure it must have been asked before
> but I cant find any info about it
>
> we have just got <strong>AutoPPP</strong> going on our system and would like to get it
> loggin the username into the utmp
>
I assume you mean youwant to record the PPP PAP authentication name in
utmp?
It looks like that's just the way things are with <strong>mgetty</strong> and the
autoppp feature.
Once pppd starts, <strong>mgetty</strong> is out of the way.
So its pppd that has to obtain
and record usernames in utmp, like /bin/login does.
Well, to my knowledge, pppd doesn't do this, so you
won't see what your looking for in a who listing.
> the login.config says
>
> # utmp_entry is what will appear in the "who" listing. Use "-" to not
> # set an utmp entry (a must for /bin/login), use "@" to set it to the
> # username entered. Maximum length is 8 characters.
> #
>
> But no matter what line I put
>
> /<strong>AutoPPP</strong>/ - <strong>a_ppp</strong> /usr/sbin/pppd auth -chap +pap login debug
> gives <strong>a_ppp</strong> in a who listing
>
> /<strong>AutoPPP</strong>/ - @ /usr/sbin/pppd auth -chap +pap login debug
> gives /<strong>AutoPPP</strong>/
>
> /<strong>AutoPPP</strong>/ - - /usr/sbin/pppd auth -chap +pap login debug
> gives no user record
>
> Is something broken or have I missed something or is that just the way
> things are with <strong>AutoPPP</strong>
>
> thanks heaps
>
> Greg Dickson
>
> **** Witchcliffe WA
> freelance programing
> * ;) *** witchy@netserv.net.au
> (java & perl)
> ***** <A HREF="http://www.netserv.net.au/witchy/">http://www.netserv.net.au/witchy/</A>
> Linux System Admin
> ************
> "I've been boiling this egg for hours and it's still not
> soft"