All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Cameron <james.cameron@hp.com>
To: linux-ppp@vger.kernel.org
Subject: Re: Moving logwtmp
Date: Tue, 16 Mar 2004 00:12:30 +0000	[thread overview]
Message-ID: <20040316001230.GB21112@hp.com> (raw)
In-Reply-To: <91A5926EFF44D3118B1200104B7276EB02C56E0B@hart-exchange.hartwellcorp.com>

I agree.

plogin() in auth.c calls logwtmp().  plogin() is only called if PAP
authentication is being done, and the secret is "@login", meaning that
the system's authentication is being used.  Or PAM.

plogin() is only called by upap_rauthreq() in upap.c.  It is PAP
specific, I don't think it could be called by CHAP; as CHAP uses a
different model.

But even so, I can see that a logwtmp() in the other authentication
paths would help with accounting, and "who".

-- 
James Cameron

  reply	other threads:[~2004-03-16  0:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-15 20:05 Moving logwtmp Michael St. Laurent
2004-03-16  0:12 ` James Cameron [this message]
2004-03-16 12:54 ` James Carlson
2004-03-16 16:35 ` Milan P. Stanic
2004-03-16 17:25 ` Michael St. Laurent
2004-03-16 20:26 ` James Carlson
2004-03-16 22:53 ` Milan P. Stanic
2004-03-19 19:51 ` Milan P. Stanic
2004-03-19 20:52 ` James Carlson
2004-03-19 23:37 ` Milan P. Stanic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040316001230.GB21112@hp.com \
    --to=james.cameron@hp.com \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.