From owner-freebsd-hackers Thu Mar 20 12:17:56 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B182737B401 for ; Thu, 20 Mar 2003 12:17:54 -0800 (PST) Received: from parhelion.firedrake.org (parhelion.firedrake.org [193.201.200.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9E4143F3F for ; Thu, 20 Mar 2003 12:17:53 -0800 (PST) (envelope-from float@firedrake.org) Received: from float by parhelion.firedrake.org with local (Exim 3.35 #1 (Debian)) id 18w6Tw-0006DM-00; Thu, 20 Mar 2003 20:17:44 +0000 Date: Thu, 20 Mar 2003 20:17:44 +0000 To: Anthony Schneider Cc: Emilio Manuel , freebsd-hackers@FreeBSD.ORG Subject: Re: boot without user and password Message-ID: <20030320201743.GA23863@parhelion.firedrake.org> References: <20030320164012.GA70326@x-anthony.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030320164012.GA70326@x-anthony.com> User-Agent: Mutt/1.3.28i From: void Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Mar 20, 2003 at 11:40:12AM -0500, Anthony Schneider wrote: > if you are trying to do what i think you're trying to do, you can put > something like the following in /etc/rc.local or in a script in > /usr/local/etc/rc.d: > > su username -c xinit > > where username is the name of the user you want to start X with. And if you're not using X, you could try this -- it's untested but I think it will work. Replace this line in /etc/ttys: ttyv0 "/usr/libexec/getty Pc" cons25 on secure with this: ttyv0 "login -f username" cons25 on secure > On Thu, Mar 20, 2003 at 04:18:43PM +0000, Emilio Manuel wrote: > > I want to know how a FreeBSD box, just after finish booting process, can > > start automatically a session with a predeterminate user without doing the > > normal login process (ie, without typing user and password). > > > > I wan to do this under Xwindows because I pretend to use this box as a > > "dumb X terminal" that can display messages send from another UNIX machine. > > > > Security themes don't bother me, cause I use this box in a small local > > network without conflictive users. > > > > Thank you in advance. > > > > ---------------------------------------------------- > > Quisiera saber como una m?quina FreeBSD, justo despues de terminar el > > proceso de arranque, podr?a arrancar una sesi?n autom?ticamente con un > > usuario predeterminado, sin pasar por el proceso normal de conexi?n (es > > decir, sin teclear el usuario y la contrase?a). > > > > Quiero hacer esto con Xwindows porque pretendo usar esta m?quina como > > "terminal tonto" que muestre mensajes enviados desde otras m?quinas. > > > > Los temas de seguridad no me preocupan, pues la red local es peque?a y los > > usuarios no son conflictivos. > > > > Gracias de antemano. > > > > > > _________________________________________________________________ > > Charla con tus amigos en l?nea mediante MSN Messenger: > > http://messenger.yupimsn.com/ > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message -- Ben "An art scene of delight I created this to be ..." -- Sun Ra To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message