From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 18:25:00 2010 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 2BDF21065715 for ; Sun, 8 Aug 2010 18:25:00 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id D5E1C8FC08 for ; Sun, 8 Aug 2010 18:24:59 +0000 (UTC) Received: from r55.edvax.de (port-92-195-116-86.dynamic.qsc.de [92.195.116.86]) by mx02.qsc.de (Postfix) with ESMTP id 642B41E8AD; Sun, 8 Aug 2010 20:24:30 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o78IOTNd003233; Sun, 8 Aug 2010 20:24:29 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 8 Aug 2010 20:24:29 +0200 From: Polytropon To: Antonio Olivares Message-Id: <20100808202429.1a1e4a20.freebsd@edvax.de> In-Reply-To: References: <4C566252.6010605@otenet.gr> <4C5CFEE0.5060000@speakeasy.net> <201008071157.00180.eliaschr@cha.forthnet.gr> <20100807214737.75ebc397.freebsd@edvax.de> <20100808120816.b6b1f54a.freebsd@edvax.de> <20100808164133.2abae500.freebsd@edvax.de> <20100808172336.6c4f39a3.freebsd@edvax.de> <20100808174436.2fa1ea02.freebsd@edvax.de> <20100808193929.8828cef2.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ANNOUNCE: Custom 64bit FreeBSD 8.1-RELEASE with XFCE packages released X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 18:25:00 -0000 On Sun, 8 Aug 2010 13:02:48 -0500, Antonio Olivares wrote: > Have changed it, now when I start machine I am logged in as root > > grullahighschool# > > I wonder what I did So that's REALLY strange... > /etc/gettytab > > ttyv0 "/usr/libexec/getty autologin" cons25 on secure Change "autologin" to something else; near the file's end there is already such a name - just to avoid interferences. Make sure you have /etc/gettytab in the following format (tested, and working): # File header # ... default:\ :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\ :if=/etc/issue: autologin:\ :al=olivares:tc=Pc: # # Fixed speed entries # .... file continues here ..... In this case, "olivares" is both the name of the user to log in automatically AND the name of the autologin-purpose profile. The user has to exist, of course. > Might it be that there were two lines > in /etc/gettytab > > ttyv0 "/usr/libexec/getty Pc" cons25 on secure > > and > > ttyv0 "/usr/libexec/getty autologin" cons25 on secure > > and I removed the top one with "Pc" and left the one below? Seems to be interfering... In /etc/ttys, use this format: ttyv0 "/usr/libexec/getty olivares" cons25 on secure Make sure the line regarding X is off: ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...