From owner-freebsd-questions@FreeBSD.ORG Sat Jun 26 14:02:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A7A91065673 for ; Sat, 26 Jun 2010 14:02:32 +0000 (UTC) (envelope-from martin@x.it.okstate.edu) Received: from x.it.okstate.edu (x.it.okstate.edu [139.78.2.13]) by mx1.freebsd.org (Postfix) with ESMTP id 3ADD88FC17 for ; Sat, 26 Jun 2010 14:02:31 +0000 (UTC) Received: from x.it.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by x.it.okstate.edu (8.14.3/8.14.3) with ESMTP id o5QE2RWQ003556 for ; Sat, 26 Jun 2010 09:02:27 -0500 (CDT) (envelope-from martin@x.it.okstate.edu) Message-Id: <201006261402.o5QE2RWQ003556@x.it.okstate.edu> to: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3554.1277560947.1@x.it.okstate.edu> Date: Sat, 26 Jun 2010 09:02:27 -0500 From: Martin McCormick Subject: Re: Running an Old Kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2010 14:02:32 -0000 "b. f." writes: > On 6/25/10, b. f. wrote: > Looking at Matthew Seaman's earlier response, I find that his > suggestion to make changes to ${PREFIX}/etc/pam.d/sudo is more > appropriate than my guess above. But you probably need to look into > the details, because judging from the comments in the > ${PREFIX}/etc/pam.d/sudo.default file, there seems to be some > subtleties involving sudo and pam_lastlog. Look at the pertinent > manpages, the sudo docs, and: > > http://www.freebsd.org/doc/en/articles/pam/index.html I do not believe any longer that this has anything to do with the FreeBSD version or patch level or the kernel. I have not solved the problem yet, but someone sent me a message off list with several good suggestions for comparing files on one system to those on another. I began to test to see which of our existing systems show the last login message and which do not. The fortunate thing is that there are several FreeBSD systems spread out over 3 campuses. All run FreeBSD6.3 at the same patch level. Three out of the 6 work normally. The other 3 also work normally except for that "last login" message. The FreeBSD8.0 system that also shows the message is patterned after one of the systems that is also displaying the unwanted message. The 3 systems that show the message are all essentially copies of each other so I am unwittingly copying the behavior even across FreeBSD versions. I expect to find the corruption in /usr/local as that is the one directory tree in which many files and scripts from the old system are copied to the new system. I may be accidentally getting some libraries or some of /usr/local/bin that should not come across. I will post a message when I find out because this behavior should not be happening. Martin McCormick