Thanks! That was exactly what I was looking for!

How do I subscribe to this list? I just ran across the archives during a
Yahoo search yesterday.

Richard

>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

--------------------------------

Richard Jennings
Sandia National Labs
7011 East Ave.
PO Box 969  MailStop 9055
Livermore, CA  94551
ph 925-294-2696
Fax 925-294-2550
[EMAIL PROTECTED]
---------------------------------

Reply via email to