Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
share|improve this question
Your "tip" makes me suspect that you don't understand how administrative privileges work in Ubuntu. Enabling the root account as you suggest is non-standard and recommended against. Why not just use sudo? – ændrük Feb 10 '13 at 3:43
Well, yeah, I've forgot to add the line for making the user admin (Notice: it's not, that is what the whole question is about), but XFCE asked exactly the root password to add a network connection [since user is not in sudo group]. Also, where do you see enabling the root account? – int_ua Feb 10 '13 at 3:55
up vote 3 down vote accepted

Short answer

Sometimes. Typically it will create one of these, but not both:

Long answer

The oem-config command is a symbolic link to ubiquity, Ubuntu's standard installer. Ubiquity runs the script user-setup-ask-oem to determine how user accounts should be configured, and then the script user-setup-apply to actually create them.

The configuration script begins by asking whether a root user should be created:

  • If you answer yes, you have the option to also create a non-root user.
  • If you answer no, you are forced to create a non-root user.

Later on, the account creation script checks to see if you have decided to create a root user:

  • If you have, a root user is created with traditional, implicit administrative privileges. If you have also opted to create a non-root user, that user is created without sudo permissions.
  • If you've decided not to create a root user, the non-root user is created with sudo permissions.

This behavior can be complicated by preeseed configurations.

share|improve this answer

Ubuntu now uses the sudo group rather then the admin group for sudo access.

Post the output of:

id <user>

Where user is the user created with the oem-config ;)

See also What is the difference between the 'sudo' and 'admin' group?

share|improve this answer
I'm not asking about how to identify if user is admin, I'm asking if users created by oem-config end up being admins. Are they? I don't know if it was created by oem-config or some scripts written by the shop. – int_ua Feb 8 '13 at 5:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.