Eddie,
Thanks, for your reply. But my problem is not with wtmp or utmp
file. There I am able to find the user that was loggin and also AutoPPP or
a_ppp (according to setup).
Actually the thing is mgetty is automatically calling AutoPPP, whenever a
call lands on the modem. So I need to rebuild the mgetty with NOAutoPPP
option and then follow the second option of Michel then I may get the
userids when I type who command.
I think I am clear here... Is it not?
Thanks,
Kiran
On Sun, 25 Feb 2001, Eddie Strohmier wrote:
> Kiran:
>
> I sent this yesterday. Your answer is here. I had the
> identical problem
> about a year ago when I was running my ISP. Did you catch my
> post?
> Here it is again.
>
> --------------------
>
> Kiran:
>
> I had this same problem about a year or so ago with a
> version of ppp. But my answer or the answer that was given
> to me was to upgrade the ppp package. I did that and it
> worked. I currently have a networked (RH 6.2) server on a
> school locally to me that wanted one dialup modem and I ran
> into the same problem. This time I tried something a little
> less radical than rebuilding ppp, that being using the touch
> command to update the time stamp on the /var/log/wtmp file.
> So as root type touch /var/log/wtmp and see if the next
> login shows up with a user name. If that fails grab a tar
> ball of you existing or updated ppp package and build it and
> that should definitely work. If you have any more problems
> just throw me an e-mail.
>
>
> Eddie Strohmier
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Kiran
> Kumar M
> Sent: Sunday, February 25, 2001 6:37 AM
> To: Mikkel L. Ellertson
> Cc: [EMAIL PROTECTED]
> Subject: Re: PPP authentication And userid display
>
>
>
> Hi Mikkel,
>
> I tried radlogin (configured radius server no different
> machine..)but it
> was not successful. And in pppd with mgetty is at the same
> stage.
>
> [snip]
> > It has been a while sence I had this set up - on a RH5.2
> machine. Let
> > me see if I can re-construct this...
> >
> > Do you want to automaticly open a PPP connection when the
> client
> > connects and sends a LCP configure request, with a
> fallback to
> > username/password? Or do you want to require that they
> log in using
> > username/password, and then have the PPP connection made?
> This makes a
> > BIG difference on how you set up the mgetty login.config
> file.
>
> The procedure that I am connecting is automatically open a
> PPP with a
> fallback to username/password. It is working as far as
> concerning
> authentication....
>
> But My problem is not authentication. The display when I
> type "who". I
> want to get the userids (login names) when I type the
> command who. By
> default mgetty is checking for AutoPPP, I want recompile
> mgetty with
> NOAUTOPPP option, and follow your second option.
>
> Anyone having the link for mgetty.1.1.21 or more
>
> Thanks,
> Kiran
>
> > For the first setup, you want lines like this:
> >
> > /AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap
> login
> > * - - /bin/login @
> >
> > These are the default setup. They did work, and I think
> they still do.
> > Then stick an entry like this in /etc/ppp/pap.secrets:
> > * $(hostname) "" *
> >
> > For the second option, you need:
> > * - - /bin/login @
> >
> > And then for the user's shell, you need something like:
> > /usr/sbin/pppd silent noauth
> >
> > If I remember correctly, you need pppd suid root for this
> to work.
> >
> > If I get time this afternoon, I'll check it a 6.2 box, and
> make sure it
> > still works.
> >
> > Mikkel
> > --
> >
> > Do not meddle in the affairs of dragons,
> > for you are crunchy and taste good with ketchup.
> >
> >
> >
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list