Fix default user handling.
authorMarco Amadori <amadorim@vdavda.com>
Tue, 2 Sep 2008 08:42:11 +0000 (10:42 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:48:02 +0000 (17:48 +0100)
commit2910ae281a07441f55215ca74ec38f1d499420f2
treee4caef960a7e770fe9ae0078ef3962f1264bd11c
parentc8143167a7af7f3ff8c138f52c4ac637fd6c9312
Fix default user handling.

* Handle the case in which an user is present but the default user could not
  be created (e.g. when configuring another user at build time in the
  chroot). If the default user could not be created or assigned, disable
  autologins (which previously just fails leaving without console login
  capabilities), and propagate that information to the scripts thinking that a
  default user will always be available.
  Note for live-helper documentation: The latter case could leave the system
  accessible only if root password is set in other ways or via ssh rsa/dsa
  passwordless accesses.
scripts/live-bottom/10adduser
scripts/live-bottom/15autologin
scripts/live-bottom/22gnome_panel_data
scripts/live-bottom/30accessibility
scripts/live-bottom/32disable_hibernation
scripts/live-bottom/44pk_allow