From owner-freebsd-questions@FreeBSD.ORG Wed May 27 07:12:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9374106564A for ; Wed, 27 May 2009 07:12:14 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57005.mail.re3.yahoo.com (web57005.mail.re3.yahoo.com [66.196.97.109]) by mx1.freebsd.org (Postfix) with SMTP id 6F7EC8FC1A for ; Wed, 27 May 2009 07:12:14 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 12065 invoked by uid 60001); 27 May 2009 07:12:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1243408333; bh=Lqs6v5pnaY0zftGwuJc7HfPVuZKLIz9xi/QXLFTeolM=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=JTyV7YhcV7LQhvQ/rOeZsyXjwbDy+mOsq47uU+uXt837ew1jVRWxCamZQeO+aNv/TeP/ls05H0GhKBLIilteGZXIlIlAmRIv3THBHMVVQddBaiAq7/xlTk1LzdX8abbg4rHFpvhEuH2uUhJvuz88a9cS6050CxU7OME/yDCasRA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=2fs6WxNSWTmpYwG5riHeEppbNv2ehL72BpYb0qe97UWixTTu5D3fqXPR4DhVplVJVwn+isN5/5ACSGmRYxhftAFgB704uWMxAoh3zySI92oJHTV7x9hAQkCMaPbGDwPGvgSF+nfgCw+ksK8MO9eTIUY1V63ATI39FDRl/CO/57A=; Message-ID: <647438.11852.qm@web57005.mail.re3.yahoo.com> X-YMail-OSG: sf.ZrscVM1mL._TqA6QaaOhWv55GDGsLdiQq8EhvZvXtnQPCtWSiN8Nrb3PZT9mBoExwGaO1iRs4SbxqNXdWotBfTyfQzJyMVltBMDew2OU_w9lSVINxKBxwRF2NW3ZRaHWXsafIIkJhaTnugpF.QzNJzhNhunZ24bpkWzUtiaooP5nxG7duYbVuQnLq0NqnVXrs6APIzEjtT1lQyjEPv2uv2ama5dgl5EZynQmiisuBsIzK84WvzF2OvWI2eUp4SDaf7qwM3NWqj_EAYBGQ5786b_sbCYakTMD0gJWxtxXutWOBbQ-- Received: from [220.255.7.212] by web57005.mail.re3.yahoo.com via HTTP; Wed, 27 May 2009 00:12:13 PDT X-Mailer: YahooMailClassic/5.3.9 YahooMailWebService/0.7.289.10 Date: Wed, 27 May 2009 00:12:13 -0700 (PDT) From: Unga To: Manolis Kiagias MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: How to remove redundant login in a FreeBSD live CD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2009 07:12:15 -0000 --- On Tue, 5/26/09, Manolis Kiagias wrote:=0A=0A> From:= Manolis Kiagias =0A> Subject: Re: How to remove redundan= t login in a FreeBSD live CD?=0A> To: "Unga" =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