Autologin via gettytab

There seems to be an option about to autologin to FreeBSD here:


Code:
#
# autologin - automatically log in as root
#

autologin|al.9600:\
    :al=root:tc=std.9600:
al.19200:\
    :al=root:tc=std.19200:
al.38400:\
    :al=root:tc=std.38400:
al.57600:\
    :al=root:tc=std.57600:
al.115200:\
    :al=root:tc=std.115200:
al.230400:\
    :al=root:tc=std.230400:

but I can't figure out how to use this. Do I need to make any changes to this?

Also came across these three:-

1.

2.

3.

but I'm stiil confused.

Is there a simple (uptodate) guide?
 
It looks like gettytab now has an autologin entry by default now. You just need to *use* it via the /etc/ttys file.

This wlll be something like:

Code:
# Original
#ttyv0   "/usr/libexec/getty Pc"         xterm   on  secure

# New
ttyv0   "/usr/libexec/getty autologin"         xterm   on  secure
 
Try following guide to autologin as a user and start X from the login shells configuration file (from there on eventually Kodi from ~/.xinitrc).

 
Back
Top