Kiran:
Yes, it is clear as can be. I went through the same problem
long ago and I thought it was mgetty as I was using mgetty
to spawn my modems. I worked with mgetty for 1 or 2 days to
no avail till I posted it to this list long ago and someone
told me at that time to download the tarball ppp package of
an updated version and rebuild it as they had a similar
problem. At that time it was 2.2.8. I did download it and
built it and on my next login from some user the a_ppp was
gone and now all I saw was user names. I too could look back
on the wtmp file and see the logins but for some reason ppp
the "w" or "who" command was not pulling from the wtmp file.
I am not sure of the exact reason but I know it worked and
it was simple. Now as I said recently I had the same problem
with the stock ppp that comes with RH 6.2, (I believe it is
ppp-2.2.12) and all I had to do here was time stamp the wtmp
file with "touch" to allow a who to display the user name.
You scenario is exactly what I went through and I don't
believe mgetty is your answer as I rebuilt mgetty at that
time but no results came from it.
Eddie Strohmier
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kiran
Kumar M
Sent: Sunday, February 25, 2001 10:34 PM
To: Eddie Strohmier; Mikkel L. Ellertson
Cc: [EMAIL PROTECTED]
Subject: RE: PPP authentication And userid display
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
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list