Freebsd:AutoLogin

From ChekMate Security Group

Freebsd Autologin as User

Assuming 'CoolBSD' is the user you want to login.

# cat <<EOF>> /etc/gettytab 
? CoolBSD:\
?	  :al=CoolBSD:ht:np:sp#115200:
?EOF
# edit /etc/ttys

find: ttyv0 line

chge: "Pc" to "CoolBSD",

examples:

ttyv0 "/usr/libexec/getty Pc" cons25 on secure

(TO)

ttyv0 "/usr/libexec/getty CoolBSD" cons25 on secure
save: press ctrl+c > Command: exit  [Exit saves]


# kill -HUP 1 (To make changes effective)
# reboot (To see it autologin)