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

Re: MediaCenter auto-login



On Mon, 2004-10-11 at 12:13 +0200, Jacobo221 wrote:
> > 1:2345:respawn:/usr/bin/setuid username /bin/bash --login
> > 
> > (As always, call back if it doesn't work)
> 
> Thanks a lot. In fact, I had already tried this, but the problem is that
> setuid doesn't set the environment. if there was some way to run 'su'
> instead of 'setuid' but without asking for password... whatever as long as
> it doesn't ask for prompt + sets the whole environment :)
> 
> Thanks a lot anyway. I hope you can help me a bit further.
> I'm looking forward for your help ;-)

If you use GDM as your Display Manager, it has a feature to do
Auto-Login.

Run from an X session:
gksuexec 

Select root as your user to run as
Type in gdmsetup as the program 
it'll ask for root's password
Under the General Tab
Auto-Login

Okay. hope this helps
-- 
greg, greg@gregfolkert.net

The technology that is
Stronger, better, faster:  Linux

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: