Bug 28381

Summary: Can't turn off telnet autologin
Product: Base System Reporter: gburditt <gburditt>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.3-RELEASE   
Hardware: Any   
OS: Any   

Description gburditt 2001-06-24 02:00:00 UTC
	Between 4.1.1-RELEASE and 4.3-RELEASE, telnet seems to have
	acquired the highly obnoxious characteristic of sending
	a (usually WRONG, but it doesn't really have the info to guess
	correctly) user name automatically when trying to log in.

	The following commands in .telnetrc don't seem to fix the problem
	(but documentation suggests that they should):

	unset autologin
	auth disable sra
	auth disable null
	environ undefine USER
	environ undefine LOGNAME

	I am also curious why:
	sot noprecognition
	didn't provoke an error message.  (Yes, "sot", not "set", I
	mistyped it on the first try.)

	Also, telnet -X sra doesn't fix it, and telnet -X autofuck 
	doesn't even provoke an error message (and I hope there isn't
	an autofuck authentication method to disable).

Fix: 

I think reinstalling the binary from FreeBSD 4.1.1 would work.
How-To-Repeat: 
	

	telnet <hostname>

	In most tests the target system is running FreeBSD 3.2 with
	its version of telnetd.
Comment 1 greid freebsd_committer freebsd_triage 2001-07-02 19:07:18 UTC
Responsible Changed
From-To: gnats-admin->freebsd-bugs

Misfiled
Comment 2 perisa 2002-05-29 04:17:15 UTC
Hi,

does this problem still exists in a recent FreeBSD 4-STABLE system?

Thanks

Marc
Comment 3 Jonathan Chen freebsd_committer freebsd_triage 2002-07-15 23:30:58 UTC
State Changed
From-To: open->closed


autologin was changed to the default. 
Your method of disabling autologin was incorrect.  Put in your .telnetrc 
DEFAULT 
auth disable sra 
(note space in front of the auth line, this is required)