Date: Sat, 11 Dec 2004 15:15:51 -0800 (PST) From: Rostislav Krasny <rosti_bsd@yahoo.com> To: freebsd-stable@freebsd.org Subject: Re: hushlogin attribute Message-ID: <20041211231551.25452.qmail@web14826.mail.yahoo.com> In-Reply-To: <44wtvozfab.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Lowell Gilbert <freebsd-stable-local@be-well.no-ip.com> wrote: > Rostislav Krasny <rosti_bsd@yahoo.com> writes: > > > --- Rostislav Krasny <rosti_bsd@yahoo.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041211231551.25452.qmail>