[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rc.local



On Mon, Oct 11, 1999 at 10:15:17AM +1000, Craig Sanders wrote:
> On Sun, Oct 10, 1999 at 03:11:22AM -0400, Colin Walters wrote:
> > I think this is a good idea.  I recently set up a Debian potato system
> > to be a web terminal, thus I had to run a startx on boot.  However,
> > /etc/init.d/rmnologin is by default run at 99, which is bad if I want
> > to have stuff happen *after* all other initalization.  
> > 
> > My solution was to create /etc/init.d/local:
> > 
> > #!/bin/sh
> > run-parts /etc/rc.local
> > 
> > and do:
> > update-rc.d -f rmnologin remove
> > update-rc.d rmnologin start 98 2 3 4 5 .
> > update-rc.d local start 99 2 3 4 5 .
> > 
> > I just plopped my startx script into /etc/rc.local.
> 
> why not just use xdm or wdm and edit the config so that the login window
> displays "login as guest with password guest"?

Because the whole point of a web terminal was to make it simple.  And I'd
rather not advertise the password of a shell account on the box.  It's
directly connected to the internet.  Right now there isn't a way to
do more than open and close netscape, and I'd like to keep it that way :)

-- 
Colin Walters <levanti@verbum.org>
http://web.verbum.org/levanti
PGP Fingerprint: A580 5AA1 0887 2032 7EFB  19F4 9776 6282 C207 843A


Reply to: