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

autologin while X and sudo for default user debian



It seems more of a postinst script issue then. I was using the stock
debian kdm installed without any special configuration. I would have
thought gdm would do this as well, but I may be wrong.

andrew

On 4/24/06, Pedro Macanas <macanas_ped@gva.es> wrote:
> So, one would create the program to do it automatically in Gnome too.
>
> Regards.
> ----- Original Message -----
> From: "Andrew Donnellan" <ajdlinux@gmail.com>
> To: "Wufu Chen" <ccwufu@gmail.com>
> Cc: <live@lists.debian-unofficial.org>
> Sent: Sunday, April 23, 2006 9:24 AM
> Subject: Re: autologin while X and sudo for default user debian
>
>
> Sorry I misread it. kdm does this automatically for me though.
>
> andrew
>
> On 4/23/06, Andrew Donnellan <ajdlinux@gmail.com> wrote:
> > To make it easier just chroot-install xdm, kdm or gdm. It's easier than
> > that.
> >
> > andrew
> >
> > On 4/23/06, Wufu Chen <ccwufu@gmail.com> wrote:
> > >
> > > Hello All
> > >     the FAQ in WIKI  updated for autologin while X and sudo for defualt
> > > user
> > > debian
> > > http://live.debian.net/wiki/FAQ
> > >
> > > How about updated in live-package , thanks.
> > >
> > > 0)add config.sh in directry /usr/share/make-live
> > >
> > > cat /usr/share/make-live/scripts/config.sh
> > > # scripts/config.sh
> > >
> > > Config ()
> > > {
> > >   #autologin while x
> > >   copy /usr/share/make-live/config/gdm.conf
> > > "$LIVE_PATH"/chroot/etc/gdm/
> > >
> > >   #sudo for debian
> > >   copy /usr/share/make-live/config/sudoers
> > > "$LIVE_PATH"/chroot/etc/
> > > }
> > >
> > >
> > > 1)add config file for gdm.conf and sudoers in new directory
> > > /usr/share/make-live/config
> > > ls /usr/share/make-live/config
> > > gdm.conf
> > > sudoers
> > >
> > > 2)modify /usr/sbin/make-live with config for autologin while X and sudo
> > > for
> > > default user debian
> > > cat /usr/sbin/make-live
> > >
> > >   # Customize chroot
> > >     Flavour
> > >
> > >   # Config
> > >   Config
> > >
> > >   # Create flavour
> > >     "${LIVE_FLAVOUR}"
> > >
> > >
> > > 3)config file
> > > a) /usr/share/make-live/config/gdm.conf
> > > ...
> > > [daemon]
> > > AutomaticLoginEnable=true
> > > AutomaticLogin=debian
> > > TimedLoginEnable=true
> > > TimedLogin=debian
> > > TimedLoginDelay=5
> > >
> > > [security]
> > > AllowRemoteAutoLogin=true
> > >
> > > ...
> > >
> > > b) /usr/share/make-live/config/sudoers
> > > ...
> > > # User privilege specification
> > > root    ALL=(ALL) ALL
> > > debian  ALL=(ALL) NOPASSWD : ALL
> > > ...
> > >
> > >
> > > _______________________________________________
> > > live mailing list
> > > live@lists.debian-unofficial.org
> > > http://lists.debian-unofficial.org/cgi-bin/mailman/listinfo/live
> > >
> > >
> > >
> >
> >
> > --
> > Andrew Donnellan
> > http://andrewdonnellan.com
> > http://ajdlinux.blogspot.com
> > Jabber - ajdlinux@jabber.org.au
> > -------------------------------
> > Member of Linux Australia - http://linux.org.au
> > Debian user - http://debian.org
> > Get free rewards - http://ezyrewards.com/?id=23484
> > OpenNIC user - http://www.opennic.unrated.net
> >
>
>
> --
> Andrew Donnellan
> http://andrewdonnellan.com
> http://ajdlinux.blogspot.com
> Jabber - ajdlinux@jabber.org.au
> -------------------------------
> Member of Linux Australia - http://linux.org.au
> Debian user - http://debian.org
> Get free rewards - http://ezyrewards.com/?id=23484
> OpenNIC user - http://www.opennic.unrated.net
> _______________________________________________
> live mailing list
> live@lists.debian-unofficial.org
> http://lists.debian-unofficial.org/cgi-bin/mailman/listinfo/live
>
> _______________________________________________
> live mailing list
> live@lists.debian-unofficial.org
> http://lists.debian-unofficial.org/cgi-bin/mailman/listinfo/live
>


--
Andrew Donnellan
http://andrewdonnellan.com
http://ajdlinux.blogspot.com
Jabber - ajdlinux@jabber.org.au
-------------------------------
Member of Linux Australia - http://linux.org.au
Debian user - http://debian.org
Get free rewards - http://ezyrewards.com/?id=23484
OpenNIC user - http://www.opennic.unrated.net

Reply to: