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

autologin while X and sudo for default user debian



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

Reply to: