Bug 18082

Summary: /etc/gettytab, /etc/ttys autologin entries
Product: Base System Reporter: C. Stephen Gunn <csg>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   

Description C. Stephen Gunn 2000-04-19 03:30:01 UTC
FreeBSD 3.X and 4.X have with "autologin" support in getty.  We
use this to ensure we have a root shell on serial terminals.  While
this is documented in the manpage, it would be nice to get example
entries into gettytab and ttys.

Fix: 

Here are sample entries that could be added to gettytab/ttys:

---------------------------------------------------------------------------

#
# autologin - automatically log root in on a console
#

autologin|al.9600:\
	:al=root:tc=std.9600:

---------------------------------------------------------------------------

# automatically log root in on a physically secure console
#console	"/usr/libexec/getty autologin"	console on  secure
Comment 1 Poul-Henning Kamp freebsd_committer freebsd_triage 2000-06-10 20:49:25 UTC
State Changed
From-To: open->closed

I have added the suggested entry in getttabs.  I have not added a 
commented out entry in /etc/ttys because linenumbers in /etc/ttys are 
magic for [uw]tmp file usage.