Project using Freesbie (autologin on FreeBSD using gettytab)

Henri-Pierre Charles hpcharles at gmail.com
Thu Jun 8 12:08:58 CEST 2006


Hello,

On 6/1/06, Dario Freni <saturnero at freesbie.org> 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,  :-)


More information about the FreeSBIE mailing list