Colin is right; OEM wasn't designed for the use case stated, so you
may have unpredictable results. However, I've been able to pull the
rabbit out of the hat, at least for an earlier incantation of
oem-config.

Here's what I did:

1.  Reboot the machine.
2.  At the GRUB menu, select the recovery mode.
3.  When you get to the "friendly recovery" menu, drop to root shell.
4.  As root, delete the regular user on the box. E.g., if you set up
yourself with a username of "foo":
     # deluser --remove-all-files foo

 //  This would be a good time to get some coffee, smoke a cigarette,
check your email,
 //  or go to the bathroom.

5.  Add the oem user:
     # adduser oem
For the "Full Name", you can put what you like or nothing at all, but
"OEM" or your company name are common choices.

6.  Give permissions (if someone knows of a more elegant way of doing
this from the command line, I'd appreciate hearing about it):
     # adduser oem admin
     # adduser oem adm
     # adduser oem dialout
     # adduser oem cdrom
     # adduser oem floppy
     # adduser oem audio
     # adduser oem dip
     # adduser oem video
     # adduser oem plugdev
     # adduser oem fuse
     # adduser oem lpadmin

7.  Install oem-config. (In the following, oem-config-gtk installs the
GNOME GUI, which isn't strictly speaking necessary but which many
folks seem to prefer over the command line.)
     # aptitude install oem-config oem-config-gtk

8.  Reboot
     # reboot now

Bada-bing-bada-boom. Your machine should now boot into an OEM
configuration.

As I said, the foregoing procedure worked for me on a prior version of
oem-config. Your mileage may vary because Colin is continually
tinkering with oem-config in his heroic, thankless, and unending
struggle to herd cats (a/k/a system builders and manufacturers).

For more specifics on his efforts to keep us all happy, see
http://www.youtube.com/watch?v=Pk7yqlTMvp8

Happy Trails,

Loye Young
Isaac & Young Computer Company
Laredo, Texas
http://www.iycc.net

-- 
OEM, on a normal Ubuntu installation, preserve the first user password for sudo
https://bugs.launchpad.net/bugs/297262
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to