From owner-freebsd-current Sat Aug 31 4: 0:12 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 774CD37B400 for ; Sat, 31 Aug 2002 04:00:09 -0700 (PDT) Received: from dilbert.robbins.dropbear.id.au (094.a.010.mel.iprimus.net.au [210.50.200.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5097643E6E for ; Sat, 31 Aug 2002 04:00:04 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (zs1j2ldkbdyotgkg@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3) with ESMTP id g7VAxjEa009204 for ; Sat, 31 Aug 2002 20:59:45 +1000 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3/Submit) id g7VAxiBN009203 for current@FreeBSD.ORG; Sat, 31 Aug 2002 20:59:45 +1000 (EST) Date: Sat, 31 Aug 2002 20:59:44 +1000 From: Tim Robbins To: current@FreeBSD.ORG Subject: openssh and lastlog Message-ID: <20020831205944.A8709@dilbert.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've been seeing these messages for months.. Aug 31 20:19:29 cinq sshd[2342]: /var/log/lastlog: Permission denied .. because sshd has dropped root privileges by the time pam_lastlog tries to log the message. I realise this was discussed on this list about 2 months ago, but it hasn't been fixed yet. Why not just go back to using openssh's built-in lastlog code until pam_lastlog can be made to work from within openssh? Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message