How to auto-login on boot up

Richard P. Williamson richard.williamson at u4eatech.com
Wed Mar 31 06:57:38 PST 2004


At 15:26 31/03/2004, Richard P. Williamson wrote:
>At 18:10 30/03/2004, Matthew Seaman wrote:
>>See ttys(5), getty(8), gettytab(5).  Basically you setup a terminal
>>type via /etc/gettytab -- copy the 'Pc' entry and append the
>>'al=username' property -- which causes that terminal to autologin as
>
>I'm trying to set this up also, can you check this for sanity?
>
>gettytab:
>  bootupcli:\
>    :ht:np:sp#9600:al=admin:tc=std.9600
>
>ttys:
>  ttyd0 "/usr/libexec/getty bootupcli"  cons25w on insecure
>
>user 'admin' uses tcsh, his .cshrc is simply:
>  exec /cli/cli

Ok, I've checked the above and they are sane.

The problem is that I'm still either getting all or nothing.
I either get all the console messages dumping all over the
/cli/cli command line interface, or I get no com at all.

How can I redirect the console output, away from /dev/ttyd0?

regards,
rip




More information about the freebsd-questions mailing list