Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1048  / 2 Years ago, fri, august 19, 2022, 6:55:21

I just installed Wubi fresh (Win 7; Ubuntu 12.10).



After booting into Ubuntu for the first time, my first instinct is to:



sudo apt-get update && sudo apt-get upgrade


However, I'm quickly prompted with:



[user] is not in the sudoers file.  This incident will be reported.


I checked user settings and it appears that there are NO admin accounts:



User Accounts



How can I resolve this? And why did Wubi set me up with a non-admin account?


More From » wubi

 Answers
4

I'd recommend filing a bug and attaching your logfile (from the %TEMP% directory in Windows: wubi-12.10-rev273.log.



You could try to fix it manually by booting into the Recovery menu: hold the Shift key after selecting Ubuntu, select Advanced options and then Recoverymode. Once you see the recovery menu select the root prompt.



First you need to remount the drive read/write:



mount -o remount,rw /


And then add yourself to the sudo group and reboot:



usermod -a -G sudo nathanbrauer
reboot


I've never heard of this problem before on a Wubi install, so don't know if this will fix it or whether there is some other underlying problem. But it's probably quicker to try than reinstalling. I do recommend filing that bug report though.


[#32129] Saturday, August 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
raacket

Total Points: 198
Total Questions: 114
Total Answers: 111

Location: Czech Republic
Member since Mon, May 15, 2023
1 Year ago
;