From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Nasrat Subject: Re: Help: Auto login Date: Wed, 18 Dec 2002 12:35:37 +0000 Sender: linux-8086-owner@vger.kernel.org Message-ID: <20021218123536.GB785@raq465.uk2net.com> References: Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-8086@vger.kernel.org On Wed, Dec 18, 2002 at 06:24:08AM -0600, Peter L. Vachuska wrote: > I am trying to set up ELKS running on a 286 laptop in a display case. In > case of power failure, I don't want to have to login and start the program > running. So how do I automatically login user1 and start my program? > (Basically the program would print digits of pi to the screen.) If you are happy running as root you can use /etc/inittab. Looks like setuid is in dev86 so you may be able to write a c wrapper to setuid to user1. hth Paul