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

autologin while X and sudo for default user debian



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
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.debian-unofficial.org/pipermail/live/attachments/20060423/164877f0/attachment.htm

Reply to: