[Bug 269025] fortune doesn't honor hushlogin
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 269025] fortune doesn't honor hushlogin"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 Feb 2024 05:12:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269025
Tatsuki Makino <tatsuki_makino@hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tatsuki_makino@hotmail.com
--- Comment #3 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
I have wondered the same thing a very long time ago :)
Existence of ~/.hushlogin changes the behavior of login(1) and sshd(8).
https: //cgit.freebsd.org/src/tree/usr.bin/login/login.c?h=releng/14.0#n444
https: //cgit.freebsd.org/src/tree/crypto/openssh/session.c?h=releng/14.0#n824
login(1) also behaves differently depending on ~/.login_conf.
It is enabled by writing me:hushlogin:
https: //cgit.freebsd.org/src/tree/usr.bin/login/login.c?h=releng/14.0#n416
It seems that sshd(8) is not reading ~/.login_conf.
It may have been read, but it seems that hushlogin has not been picked up.
https: //cgit.freebsd.org/src/tree/crypto/openssh/session.c?h=releng/14.0#n1384
The existence of a file is one condition, but there are also conditions under
which it is no longer needed when the file does not exist.
--
You are receiving this mail because:
You are the assignee for the bug.