Nick Phillips wrote:

> David Newall wrote:
>
> > On Wed, 3 Mar 1999, Nick Phillips wrote:
> > >> So how can I get the real user name to enter in the utmp file?
> > > Worth considering first "Why should the user name be in the utmp file?"
> > > The user isn't logged in to your machine; they are using a network
> > > interface.
> >
> > Why would a user name ever be in the utmp file?
>
> Because they're logged in.
>
> >  They are never logged
> > in to the machine; they only ever use a serial port.
>
> Exactly. Would you like a utmp entry for everyone who sends traffic over
> your ethernet interface too?
>
> >  Want to buy
> > Sydney Opera House?  Extra cheap today.  :-)
>
> No, I wouldn't have anywhere to put it. Small gardens we have over here,
> y'know...
> Thanks anyway ;)
>
> > I put ppp users in the utmp file so that I know who is using my modems.
>
> I was just trying to point out that utmp is not necessarily the One True
> Place to log stuff, and that in a particular case it might well be as
> useful to log it elsewhere.
>
> > Seems like it would be a common enough requirement.
>
> Splitting hairs, is there really any reason why it is *required* that it
> be logged in utmp rather than somewhere else?
>

/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.

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?

And I need your help to find a solution. So, if you have a suggestion?

Regards
Bernhard


> --
> Nick Phillips ([EMAIL PROTECTED])
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to [EMAIL PROTECTED]


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to