[Gllug] Auto Login?

Jon Masters jonathan at jonmasters.org
Sun Aug 26 21:40:17 UTC 2001


On 26 Aug 2001 00:55:49 +0100, Alex Hudson wrote:

> > I suppose a quick 'n' dirty solution is just to stick
> > su - <lusername>
> > at the end of your /etc/rc.d/rc.local file
> > (or whatever, I'm a Debian person).
> 
> Hmm. I'm running Debian, and I don't see that file ;P

Hello?

I said "I'm a Debian person", this means I cannot be certain that *SUSE*
(which I believe is what we *were* actually talking about) has that
file, but I think it does - nowhere did I say Debian had that file.

Hope that's quite clear - Debian doesn't have an /etc/rc.d.

> I don't see how making the script change id is going to automatically
> log someone in, either? 

Because "su" will login with the specified id and give a shell?

> I would have though a slightly better system would be a 
> 	su - [user]; startx ;

Yes, whatever.

> Doing that in an init script is pretty icky though.

Hence me saying it was quick 'n' dirty.

A question was asked, I gave an answer, try it :P

--jcm



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list