From owner-freebsd-questions@FreeBSD.ORG Thu Apr 3 18:34:42 2008 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 29C19106564A for ; Thu, 3 Apr 2008 18:34:42 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id EC73C8FC14 for ; Thu, 3 Apr 2008 18:34:41 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.13.8/8.13.8) with ESMTP id m33IYfW5011284 for ; Thu, 3 Apr 2008 13:34:41 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200804031834.m33IYfW5011284@dc.cis.okstate.edu> to: freebsd-questions@freebsd.org Date: Thu, 03 Apr 2008 13:34:41 -0500 From: Martin McCormick Subject: Re: Sudo Commands on New 6.2 System Cause Last Login Message. 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: Thu, 03 Apr 2008 18:34:42 -0000 Steven Friedrich writes: >> 26testokcns root $sudo touch .hushlogin >Well, it IS odd that you're using sudo when logged in as root 8o) I was cd'd to the /root directory, but was logged in as me. It kind of got me there for a second, but notice the $ in the prompt. Interestingly enough, sudo -v doesn't cause this message. >Did you edit /usr/local/etc/sudoers ? >I tried you're commands here and I don't get the Last login message. I am not getting it on most other FreeBSD systems except the newest 2 systems I just finished updating in the last couple of days. >In sudoers, do you have "root ALL=(ALL) ALL" ? Yes. That's where I added all of the users who can sudo. I even copied it out of another sudoers file so as not to miss anybody. The FreeBSD version I am using is FreeBSD 6.2-RELEASE-p11 Interestingly, the system I am on right this minute is the same version and does not exhibit this behavior. Martin McCormick