Sometimes there’s a need for auto login user over serial or ttyv

$ cat << EOF >> /etc/gettytab
autoLogin.Pc:\
  :ht:np:sp#9600:al=USER_NAME
EOF
$ grep ^ttyv0 /etc/ttys
ttyv0 "/usr/libexec/getty autoLogin.Pc"   xterm on  secure

/etc/gettytab(5), /etc/ttys(5)