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:
How can I resolve this? And why did Wubi set me up with a non-admin account?
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:
And then add yourself to the sudo group and 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.
you can type
sudo su -
Enter your user password now you are in a root user then you can change your root password by typing
passwd
it will ask for password and re-enter it again