Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2009 00:12:13 -0700 (PDT)
From:      Unga <unga888@yahoo.com>
To:        Manolis Kiagias <sonicy@otenet.gr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to remove redundant login in a FreeBSD live CD?
Message-ID:  <647438.11852.qm@web57005.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help

--- On Tue, 5/26/09, Manolis Kiagias <sonicy@otenet.gr> wrote:=0A=0A> From:=
 Manolis Kiagias <sonicy@otenet.gr>=0A> Subject: Re: How to remove redundan=
t login in a FreeBSD live CD?=0A> To: "Unga" <unga888@yahoo.com>=0A> Cc: fr=
eebsd-questions@freebsd.org=0A> Date: Tuesday, May 26, 2009, 6:48 PM=0A> Un=
ga wrote:=0A> > Hi all=0A> > =0A> > I made a live CD based on FreeBSD 7.2. =
When the CD=0A> boots, it prompts for a login. Type root without password=
=0A> can log in. It seems this login is redundant.=0A> > =0A> > How to remo=
ve this redundant login?=0A> > =0A> > Best regards=0A> > Unga=0A> > =0A> >=
=A0=A0=A0=0A> I found this info in a text file of mine (copied from=0A> som=
ewhere, but don't remember the source). I remember I used=0A> it once to cr=
eate an autologin workstation for someone who=0A> really wouldn't want to k=
now anything about usernames,=0A> password or this while unix type of thing=
. And as I recall=0A> it worked ;)=0A> =0A> =0A> 1. Add to the /etc/gettyta=
b file the following strings:=0A> =0A> =A0 =A0 =A0 =A0 =A0 =A0 test:\=0A> =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=0A> :al=3Dtest:ht:np:sp#115200:=0A> =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0=0A> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=0A> =A0=A0=A0E=
xplanation:=0A> =0A> =A0 =A0 =A0 =A0=0A> =A0=A0=A0test:\=A0=A0=A0- entry na=
me,=0A> autologin will use this username;=0A> =A0 =A0 =A0 =A0 =A0=A0=A0al=
=3Dtest -=0A> autologin username;=0A> =A0 =A0 =A0 =A0 =A0=A0=A0ht - termina=
l=0A> has real tabs;=0A> =A0 =A0 =A0 =A0 =A0=A0=A0np - 8-bit=0A> chars;=0A>=
 =A0 =A0 =A0 =A0 =A0=A0=A0(optional)=0A> sp#115200 - line speed;=0A> =0A> 2=
. Edit /etc/ttys file:=0A> =0A> =A0 =A0 =A0 =A0 =A0=0A> ttyv0=A0=A0=A0"/usr=
/libexec/getty test"=A0=0A> =A0 =A0 =A0=A0=A0cons25 on=A0 secure=0A> =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0=0A> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=0A> =A0 =A0=
 =A0 =A0 =A0 =A0 =A0 =A0=0A> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=0A> =A0 =A0 =
=A0 =A0 =A0 =A0=A0=A0Change=0A> 'Pc' with test.=0A> =0A=0AThank you, Manoli=
s. Your method worked.=0A=0ABest regards=0AUnga=0A=0A=0A=0A      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?647438.11852.qm>