My friend just bought a netbook with Xubuntu preinstalled and the user was created right in store without giving her a root password. Neither was it an admin user. Was it oem-config's fault or store stаff's?
Tip: To solve this boot into recovery mode, choose root and execute
mount -o remount,rw /
passwd root
Short answer
Sometimes. Typically it will create one of these, but not both:
Long answer
The
oem-config
command is a symbolic link toubiquity
, Ubuntu's standard installer. Ubiquity runs the scriptuser-setup-ask-oem
to determine how user accounts should be configured, and then the scriptuser-setup-apply
to actually create them.The configuration script begins by asking whether a root user should be created:
Later on, the account creation script checks to see if you have decided to create a root user:
This behavior can be complicated by preeseed configurations.
Ubuntu now uses the sudo group rather then the admin group for sudo access.
Post the output of:
Where user is the user created with the oem-config ;)
See also What is the difference between the 'sudo' and 'admin' group?