On Tue, 3 Aug 1999, Richard Jennings wrote:

> How do you get an embedded linux system to login with a default user at
> boot up?

in text mode or X11 ?

In text mode just use "open su username - -c '/bin/bash'" Then you have to
switch to the new VT.

You may also modify getty so it does not start login but any other program as
a given used.

Under X11, just start X server, and start window manager as a given user.

su - username -c 'startx' &

should even work from some init script.

Or even write a script "/usr/local/bin/userlogin" with 
#!/bin/sh
exec su - username -c 'startx'

and put:

us:2345:respawn:/usr/local/bin/userlogin

in /etc/inittab


--
Tomek

Reply via email to