From owner-freebsd-questions@FreeBSD.ORG Tue May 26 10:48:20 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 6F35E1065674 for ; Tue, 26 May 2009 10:48:20 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [83.235.67.30]) by mx1.freebsd.org (Postfix) with ESMTP id CDBBE8FC08 for ; Tue, 26 May 2009 10:48:18 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from joshua.freebsdgr.org (athedsl-4556263.home.otenet.gr [94.70.81.239]) (authenticated bits=0) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n4QAmGsX006195; Tue, 26 May 2009 13:48:17 +0300 Message-ID: <4A1BC8F0.4090909@otenet.gr> Date: Tue, 26 May 2009 13:48:16 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.21 (X11/20090411) MIME-Version: 1.0 To: Unga References: <686461.52764.qm@web57003.mail.re3.yahoo.com> In-Reply-To: <686461.52764.qm@web57003.mail.re3.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 26 May 2009 10:48:20 -0000 Unga wrote: > Hi all > > I made a live CD based on FreeBSD 7.2. When the CD boots, it prompts for a login. Type root without password can log in. It seems this login is redundant. > > How to remove this redundant login? > > Best regards > Unga > > I found this info in a text file of mine (copied from somewhere, but don't remember the source). I remember I used it once to create an autologin workstation for someone who really wouldn't want to know anything about usernames, password or this while unix type of thing. And as I recall it worked ;) 1. Add to the /etc/gettytab file the following strings: test:\ :al=test:ht:np:sp#115200: Explanation: test:\ - entry name, autologin will use this username; al=test - autologin username; ht - terminal has real tabs; np - 8-bit chars; (optional) sp#115200 - line speed; 2. Edit /etc/ttys file: ttyv0 "/usr/libexec/getty test" cons25 on secure Change 'Pc' with test.