From owner-freebsd-questions@FreeBSD.ORG Thu Apr 3 17:06:38 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 5C83A106566B for ; Thu, 3 Apr 2008 17:06:38 +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 135448FC17 for ; Thu, 3 Apr 2008 17:06:38 +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 m33H6bdU081726 for ; Thu, 3 Apr 2008 12:06:37 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200804031706.m33H6bdU081726@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Date: Thu, 03 Apr 2008 12:06:37 -0500 From: Martin McCormick Subject: 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 17:06:38 -0000 I noticed that every sudo command I issue is accompanied by a "Last login" message. 25testokcns root $ls .hushlogin ls: .hushlogin: No such file or directory 26testokcns root $sudo touch .hushlogin Last login: Thu Apr 3 11:38:24 from testokcns.osuokc 27testokcns root $sudo date Last login: Thu Apr 3 11:41:10 from testokcns.osuokc Thu Apr 3 11:41:17 CDT 2008 I was trying to see if a .hushlogin file in /root might snuff out the messages, but it had no effect. The commands always work but I would rather not get that message each time. Am I missing something obvious? Thanks. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Network Operations Group