oem-config fails to prompt for password
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oem-config (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Running a custom server installation (base server, openssh-server, build tools, our own SDK in /opt), we have oem-config install as part of the preseeded network installation. Post-installation, we bypass oem-config (alt-F2) and log in with a user created in the preseed installation. After testing, we ensure oem-config will run (touch /var/lib/
We have recently had several customers report that oem-config doesn't prompt for a user password when prompting for a user, and in fact, when I tested it here, I discovered that the password hash in /etc/shadow matched the user password created by the preseed.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: oem-config 2.10.29
ProcVersionSign
Uname: Linux 3.2.0-77-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.8
Architecture: amd64
Date: Thu Mar 19 11:58:24 2015
InstallCmdLine: nomce ks=http://
MarkForUpload: True
PackageArchitec
ProcEnviron:
TERM=linux
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)
affects: | ubiquity (Ubuntu) → oem-config (Ubuntu) |
tags: | added: trusty |
Someone indicated that they need more details to reproduce this, so here it goes:
Download the netboot image from http:// archive. ubuntu. com/ubuntu/ dists/trusty- updates/ main/installer- amd64/current/ images/ netboot/ mini.iso and make a bootable usb stick from it using universal usb installer from http:// www.pendrivelin ux.com/ universal- usb-installer- easy-as- 1-2-3/ (Windows) or what ever method your system supports (can be reproduced in a VM, leaving this initial install as an exercise to the user). I use PXE to start the installation.
For boot parameters, use the following (syslinux.cfg): /live/trusty/ initrd. gz nomce ks=http:// myserver. com/preseed/ trusty- ks.cfg locale=en_US console- setup/ask_ detect= false console- setup/layoutcod e=us vga=normal DEBCONF_ DEBUG=developer -- debconf/ priority= critical
append initrd=
(see trusty-ks.cfg attached).
During install, the system will prompt asking to confirm NOT to install grub (see https:/ /bugs.launchpad .net/ubuntu/ +source/ debian- installer- netboot- images/ +bug/1309349). After rebooting, the system will eventually start oem-config, prompting for language, locale, keyboard setup, username, and hostname (defaults to kickseed if the above install was done). It will NOT prompt for user password. Instead, it generates a new user with the SAME PASSWORD as the preseed config.