Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2003 20:17:44 +0000
From:      void <float@firedrake.org>
To:        Anthony Schneider <anthony@x-anthony.com>
Cc:        Emilio Manuel <curioso1100@hotmail.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: boot without user and password
Message-ID:  <20030320201743.GA23863@parhelion.firedrake.org>
In-Reply-To: <20030320164012.GA70326@x-anthony.com>
References:  <F34EMDpCnJ711HZv7FD00003d45@hotmail.com> <20030320164012.GA70326@x-anthony.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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