I thought of a work-around for the particular situation described.

If the machine had exactly one non-system user account, the following
would work around it:

* Change the username to "oem"
* Move the home directory from "/home/username" to "/home/oem"
* Either (i) change every instance of the string "/home/username" to "$HOME" in 
all the files in /home/oem (using a recursive search, of course) (the safer 
option), or 
          (ii) reboot into single user mode and delete the contents of 
/home/oem, and then reboot regularly (allowing the OS to repopulate the home 
directory) (the quicker, but possibly dangerous option). 
* As user "oem", finish configuring the machine and issue oem-config-prepare as 
in the normal case.

I've pulled it off before. It's not a terribly complex procedure, but
consideration should be given to starting over by deleting the partition
and reinstalling with the alternate install disk. Most of the time that
ends up being cleaner and faster.

-- 
oem-config does not create new user
https://bugs.launchpad.net/bugs/139705
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to