Bug 29516

Summary: telnet(1) from an non FreeBSD host still uses /etc/ttys for root access, ignorning /etc/login.access
Product: Base System Reporter: Jim.Pirzyk <Jim.Pirzyk>
Component: binAssignee: Mark Murray <markm>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.3-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Jim.Pirzyk 2001-08-07 22:10:01 UTC
	When telnet'ing as root into a FreeBSD host from a non FreeBSD host,
	you need to modify the /etc/ttys file to allow root access.  When allowing
	rsh/rlogin access, you have to modify /etc/login.access.

Fix: This patch disables the use of the rootterm() function in login.c
	This then defaults to using the /etc/login.access file for the telnetd
	sessions.
How-To-Repeat: 	Setup a freebsd box that allows root access over the net, then try to
	login from another non freebsd box.
Comment 1 ru freebsd_committer freebsd_triage 2001-09-14 17:24:30 UTC
Responsible Changed
From-To: freebsd-bugs->markm

Mark, could you please look into this?
Comment 2 Mark Murray freebsd_committer freebsd_triage 2013-08-26 13:56:07 UTC
State Changed
From-To: open->closed

Stale.