hushlogin attribute
Rostislav Krasny
rosti_bsd at yahoo.com
Sat Dec 11 15:15:51 PST 2004
--- Lowell Gilbert <freebsd-stable-local at be-well.no-ip.com> wrote:
> Rostislav Krasny <rosti_bsd at yahoo.com> writes:
>
> > --- Rostislav Krasny <rosti_bsd at 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 at 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
More information about the freebsd-stable
mailing list