When I was installing a program, it said that I needed to run it as a normal account rather than an administrator account, and so, being the inexperienced person that I am, changed my account to Standard rather than Administrator.
When I went to change it back, I clicked unlock
, and entered my password (the only password I have ever used for this computer), and it said that my authentication attempt was unsuccessful
.
I've tried changing my password in the recovery mode
before booting, and it still doesn't work. I can't install any programs without being admin.
Lifted from this post.
First you need to boot into recovery mode. If Ubuntu is the only system installed on your computer you need to hold Shift-Key while booting.
Select the "recovery mode"-entry which is usually the second one.
mount -o rw,remount /
to make your system writeableEnter the following (replacing your-username with your actual username):
adduser your-username sudo
adduser your-username admin
Now your user will have his admin rights back. Enter
reboot
to reboot your system.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments