Fix default user handling.
authorMarco Amadori <amadorim@vdavda.com>
Tue, 2 Sep 2008 08:42:11 +0000 (10:42 +0200)
committerMarco Amadori <amadorim@vdavda.com>
Mon, 15 Sep 2008 13:35:01 +0000 (15:35 +0200)
commitd60c0ff85eddfa581c19df3eaf30f4eaaaa18943
treee4caef960a7e770fe9ae0078ef3962f1264bd11c
parent43c4680a11625547fed71eecdc9ac1ec42e21966
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.

Signed-off-by: Marco Amadori <amadorim@vdavda.com>
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