Friday, May 10, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 644  / 3 Years ago, thu, may 13, 2021, 12:59:01

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

More From » oem

 Answers
2

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.


[#32792] Friday, May 14, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
amacal

Total Points: 457
Total Questions: 102
Total Answers: 116

Location: Thailand
Member since Thu, Apr 22, 2021
3 Years ago
;