Re: Project using Freesbie (autologin on FreeBSD using gettytab)

"Henri-Pierre Charles" <[email protected]> Thu, 8 Jun 2006 12:08:58 +0200
Newsgroups gmane.os.freebsd.freesbie
Message-ID <[email protected]>
Hello,

On 6/1/06, Dario Freni <[email protected]> wrote:
> Open /etc/gettytab and add the following rows at the bottom:
>
> freesbie:\
>         :al=freesbie:ht:np:sp#115200:
>
> Assuming 'freesbie' is the user you want to login. Then edit /etc/ttys,
> find the ttyv0 line and substitute "Pc" with "freesbie" or whatever
> label you putted in gettytab.
>
> ttyv0   "/usr/libexec/getty freesbie"   cons25  on      secure
>
> Then kill -HUP 1 to make changes effective. To make X autostart, I
> modified my .cshrc, you can do the same depending on your chosen shell.
> I added a row:
>
> [ "$?DISPLAY" = "0"] && [ "$?SSH_CLIENT" = "0" ] && startx

Thanks, it work great... I have discover the al capability of gettytab,  :-)
-- 
FreeSBIE mailing list (http://www.freesbie.org)