The OpenNET Project / Index page

[ новости/++ | форум | wiki | теги | ]

Not another AutoPPP question (ppp getty connect)


<< Предыдущая ИНДЕКС Поиск в статьях src Установить закладку Перейти на закладку Следующая >>
Ключевые слова: ppp, getty, connect,  (найти похожие документы)
Subj : Re: Not another AutoPPP question <H1>Re: Not another AutoPPP question</H1> <HR> <PRE> <strong>From </strong> andrew sun &lt;<A HREF="mailto:asrock@sunbird.ieps-sun.ml.com">asrock@sunbird.ieps-sun.ml.com</A>&gt; <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> &lt;35A41259.149CF9E6@sunbird.ieps-sun.ml.com&gt; <strong>References </strong> <A HREF="/cgi-bin/news?id@6no0am%24lo%241@wapull.telstra.net">1</A> </PRE> <HR> <PRE> Greg Dickson wrote: &gt; Im sorry about asking this as Im sure it must have been asked before &gt; but I cant find any info about it &gt; &gt; we have just got <strong>AutoPPP</strong> going on our system and would like to get it &gt; loggin the username into the utmp &gt; 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. &gt; the login.config says &gt; &gt; # utmp_entry is what will appear in the "who" listing. Use "-" to not &gt; # set an utmp entry (a must for /bin/login), use "@" to set it to the &gt; # username entered. Maximum length is 8 characters. &gt; # &gt; &gt; But no matter what line I put &gt; &gt; /<strong>AutoPPP</strong>/ - <strong>a_ppp</strong> /usr/sbin/pppd auth -chap +pap login debug &gt; gives <strong>a_ppp</strong> in a who listing &gt; &gt; /<strong>AutoPPP</strong>/ - @ /usr/sbin/pppd auth -chap +pap login debug &gt; gives /<strong>AutoPPP</strong>/ &gt; &gt; /<strong>AutoPPP</strong>/ - - /usr/sbin/pppd auth -chap +pap login debug &gt; gives no user record &gt; &gt; Is something broken or have I missed something or is that just the way &gt; things are with <strong>AutoPPP</strong> &gt; &gt; thanks heaps &gt; &gt; Greg Dickson &gt; &gt; **** Witchcliffe WA &gt; freelance programing &gt; * ;) *** witchy@netserv.net.au &gt; (java &amp; perl) > ***** <A HREF="http://www.netserv.net.au/witchy/">http://www.netserv.net.au/witchy/<;/A> &gt; Linux System Admin &gt; ************ &gt; "I've been boiling this egg for hours and it's still not &gt; soft" andrew </PRE> Subj : Re: Not another AutoPPP question <PRE> <strong>From </strong> andrew sun &lt;<A HREF="mailto:asrock@sunbird.ieps-sun.ml.com">asrock@sunbird.ieps-sun.ml.com</A>&gt; <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> &lt;35A41259.149CF9E6@sunbird.ieps-sun.ml.com&gt; <strong>References </strong> <A HREF="/cgi-bin/news?id@6no0am%24lo%241@wapull.telstra.net">1</A> </PRE> <HR> <PRE> Greg Dickson wrote: &gt; Im sorry about asking this as Im sure it must have been asked before &gt; but I cant find any info about it &gt; &gt; we have just got <strong>AutoPPP</strong> going on our system and would like to get it &gt; loggin the username into the utmp &gt; 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. &gt; the login.config says &gt; &gt; # utmp_entry is what will appear in the "who" listing. Use "-" to not &gt; # set an utmp entry (a must for /bin/login), use "@" to set it to the &gt; # username entered. Maximum length is 8 characters. &gt; # &gt; &gt; But no matter what line I put &gt; &gt; /<strong>AutoPPP</strong>/ - <strong>a_ppp</strong> /usr/sbin/pppd auth -chap +pap login debug &gt; gives <strong>a_ppp</strong> in a who listing &gt; &gt; /<strong>AutoPPP</strong>/ - @ /usr/sbin/pppd auth -chap +pap login debug &gt; gives /<strong>AutoPPP</strong>/ &gt; &gt; /<strong>AutoPPP</strong>/ - - /usr/sbin/pppd auth -chap +pap login debug &gt; gives no user record &gt; &gt; Is something broken or have I missed something or is that just the way &gt; things are with <strong>AutoPPP</strong> &gt; &gt; thanks heaps &gt; &gt; Greg Dickson &gt; &gt; **** Witchcliffe WA &gt; freelance programing &gt; * ;) *** witchy@netserv.net.au &gt; (java &amp; perl) > ***** <A HREF="http://www.netserv.net.au/witchy/">http://www.netserv.net.au/witchy/<;/A> &gt; Linux System Admin &gt; ************ &gt; "I've been boiling this egg for hours and it's still not &gt; soft" andrew </PRE>

<< Предыдущая ИНДЕКС Поиск в статьях src Установить закладку Перейти на закладку Следующая >>

Ваш комментарий
Имя:         
E-Mail:      
Заголовок:
Текст:




  Закладки на сайте
  Проследить за страницей
Created 1996-2017 by Maxim Chirkov  
ДобавитьРекламаВебмастеруГИД  
Hosting by Ihor