Assuming you want to autologin on one of the virtual terminals:
First edit /etc/gettytab, find the one for 'Pc' and duplicate it
with a unique name and add al=<username>:
For 4.5R you would end up with something like:
P|Pc|Pc console:\
:ht:np:sp#115200:
Pc-foo:\
:ht:np:sp#115200:al=user:
Next edit /etc/ttys and change the line for the terminal you
want to auto-login on from
ttyv0 "/usr/libexec/getty Pc" cons25 on secure
to
ttyv0 "/usr/libexec/getty Pc-foo" cons25 on secure
And finally let init(8) know we changed something
kill -HUP 1
But before you start doing this think 2 or 3 times about the
insecurity you're creating with this.
-
greetz Joost
jo...@jodocus.org
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message