From owner-freebsd-stable@FreeBSD.ORG Sat Dec 11 21:38:37 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5B8F16A4CE for ; Sat, 11 Dec 2004 21:38:37 +0000 (GMT) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84F5C43D45 for ; Sat, 11 Dec 2004 21:38:37 +0000 (GMT) (envelope-from freebsd-stable-local@be-well.no-ip.com) Received: (qmail 25274 invoked from network); 11 Dec 2004 21:38:37 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail2.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 11 Dec 2004 21:38:37 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 8F64044; Sat, 11 Dec 2004 16:38:36 -0500 (EST) Sender: lowell@be-well.ilk.org To: Rostislav Krasny References: <20041211155646.86619.qmail@web14825.mail.yahoo.com> From: Lowell Gilbert Date: 11 Dec 2004 16:38:36 -0500 In-Reply-To: <20041211155646.86619.qmail@web14825.mail.yahoo.com> Message-ID: <44wtvozfab.fsf@be-well.ilk.org> Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-stable@freebsd.org Subject: Re: hushlogin attribute X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-stable@freebsd.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Dec 2004 21:38:37 -0000 Rostislav Krasny writes: > --- Rostislav Krasny wrote: > > Hello. > > > > The hushlogin attribute doesn't work when it is added to "me" record of > > ~/.login_conf or to "default" record of /etc/login.conf. However, having > > ~/.hushlogin file does its job well. Is it a bug or am I missing > > something? > > > > > uname -a > > FreeBSD saturn 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #1: Fri Dec 3 > > 13:57:01 IST 2004 root@saturn:/usr/obj/usr/src/sys/MYKERNEL i386 > > If I run 'cap_mkdb /etc/login.conf' after the /etc/login.conf was changed > the hushlogin attribute works. But I can't find any way to make hushlogin > attribute work from the ~/.login_conf. Running 'cap_mkdb ~/.login_conf' > doesn't help. Is it possibly to make the hushlogin attribute work from > ~/.login_conf file? > > P.S. IMHO the login.conf(5) manual page should say something about the > /etc/login.conf.db file and its preferable usage by login(1). The first eight lines of login.conf cover this quite well.