From owner-freebsd-stable@FreeBSD.ORG Sat Dec 11 23:15:51 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 70E6316A4CE for ; Sat, 11 Dec 2004 23:15:51 +0000 (GMT) Received: from web14826.mail.yahoo.com (web14826.mail.yahoo.com [216.136.225.197]) by mx1.FreeBSD.org (Postfix) with SMTP id 5445643D49 for ; Sat, 11 Dec 2004 23:15:51 +0000 (GMT) (envelope-from rosti_bsd@yahoo.com) Received: (qmail 25454 invoked by uid 60001); 11 Dec 2004 23:15:51 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=yq/rLUBCUZuYbuvfvBMYY3NOGGS7GRlw4Q6PjwsF1NA4/+Pv7D//oWo/O1JIheAab256MmuUKHAILIyDVW4AWN0q35TFdTk6/oCnkJmAaN9VkhabGd5rZbAEgo+0whn/D9fUUPNTm71Hare+jFglPykzyY3NuTem9Z7FsEWCeC0= ; Message-ID: <20041211231551.25452.qmail@web14826.mail.yahoo.com> Received: from [212.143.154.227] by web14826.mail.yahoo.com via HTTP; Sat, 11 Dec 2004 15:15:51 PST Date: Sat, 11 Dec 2004 15:15:51 -0800 (PST) From: Rostislav Krasny To: freebsd-stable@freebsd.org In-Reply-To: <44wtvozfab.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: hushlogin attribute X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 23:15:51 -0000 --- Lowell Gilbert wrote: > 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. Yes, there are few words about one should run 'cap_mkdb /etc/login.conf' after each change. But this is not what I propose to add to the manual page and /etc/login.conf is not a manual page by itself. At first I wasn't pay attention to these lines at all because I already read the manual and I instinctively wasn't expected to find any new information in /etc/login.conf. FreeBSD 4.8 Errata have a much better explanation than lines 3 and 5 on /etc/login.conf. Why not to add something like that to the login.conf(5) manual page? By the way, do you know why hushlogin attribute doesn't work from the ~/.login_conf or how it can work from there? Thank you in advance. __________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com