Bernhard L�der wrote:
> /AutoPPP makes an entry (a_ppp or /AutoPPP) in the utmp file anyway. (utmp is
> the file, that the "last" and "w" commands look at, isn't it?)
>
> The purpose of the entry in utmp is to track who is logged in, right?
> So if /AutoPPP only enters a non-specific name what's the use of that entry. It
> needs to have the right user name, that is coming in on this interface
>
> If I take off /AutoPPP and get the users to manual log in and start pppd,
> their name appears in the utmp (or whatever file is read by "w") file and my
> user accounting program (ACUA) can track them.
I didn't mean to say that you don't want to do this; in your case you
evidently do... I just think that a lot of people want to do that
without having really thought about it.
> So my question back: Why would I not want the real user ID showing, when I get
> an entry in the utmp (or whatever file is read by "w") anyway?
Usually the names given to ppp for authentication purposes are host
names. These names will often not be in the same namespace as the user
names on the system, hence they might overlap; whilst most of the ppp
client names might be different to all the user names on the system,
some might not. Then you would find it difficult to do accounting based
on the name in utmp, if you were putting the names used by ppp for
authentication in there.
> And I need your help to find a solution. So, if you have a suggestion?
As the chunk of mgetty's FAQ that I posted mentions, it's nothing to do
with mgetty. You need either to persuade/configure/hack pppd to record
the username in there, or as I said before, write something to run as
/etc/ppp/auth-up to fix the username. The entry is made by mgetty, you
just need to fix the username.
--
Nick Phillips ([EMAIL PROTECTED])
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]