Bug 17756

Summary: sshd ignores .hushlogin
Product: Base System Reporter: danh <danh>
Component: binAssignee: Brian Feldman <green>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description danh 2000-04-02 20:00:03 UTC
	sshd ignores the existence of a .hushlogin file in a users home
	directory for a quiet login.  Setting the capability in /etc/login.conf
	works great however.

Fix: Apply the following patch.  It would appear the third argument to
	login_getcapbool(3) does not affect the return value if the capability
	is not found.  It only has an affect when the first or second arguments
	are NULL.
How-To-Repeat: 
	Create a .hushlogin file in your home directory.  Make sure the
	hushlogin capability for your login class does not exist.  Use a
	secure shell client to login.  Appropriate behavior would be to not
	print the copyright, last login, and message of the day.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-07 15:07:41 UTC
Responsible Changed
From-To: freebsd-bugs->kris

Johan Karlsson says that this one contains a patch.
Comment 2 Kris Kennaway freebsd_committer freebsd_triage 2000-11-13 02:30:38 UTC
Responsible Changed
From-To: kris->green

Green is taking over OpenSSH
Comment 3 Brian Feldman freebsd_committer freebsd_triage 2000-11-13 03:37:36 UTC
State Changed
From-To: open->closed

This bug doesn't come close to applying anymore (happily :)
Comment 4 Brian Feldman freebsd_committer freebsd_triage 2000-11-13 03:49:04 UTC
State Changed
From-To: open->closed

This should be "closed".