Bug 19239

Summary: login allows users to login remotely without showing from host
Product: Base System Reporter: User Aangel <aangel>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-RELEASE   
Hardware: Any   
OS: Any   

Description User Aangel 2000-06-13 11:10:03 UTC
	User may run the 'login' program an re-log into the system
	and appear as a local user.

Fix: 

add code to check if user is logged in remotely and keep current host
	*or* prohibit users from running 'login' from a logged terminal.
How-To-Repeat: 
	Login remotely (ssh, telnet, etc.).  Run 'login'.  Login again.
	(ie):

bash-2.03$ who am i
aangel           ttyp1   Jun 10 13:12   (localhost)
bash-2.03$ login
login: aangel
Password:
bash-2.03$ who am i
aangel           ttyp1   Jun 10 13:12
bash-2.03$
Comment 1 Alexey Zelkin freebsd_committer freebsd_triage 2000-07-08 15:09:06 UTC
Responsible Changed
From-To: gnats-admin->freebsd-bugs

Misfiled PR
Comment 2 Jonathan Chen freebsd_committer freebsd_triage 2002-07-07 17:27:29 UTC
State Changed
From-To: open->closed


duplicate PR, see bin/5483