Lost admin password question
I managed to lose the password that allows app installs (OS is 12.04). I took over my wife's old Vaio and was trying to change her as admin to me. I am now only a guest user and the admin password she had will not work for me when I try to change user status or anything else for that matter. I was wondering if I could download a copy of 14.0 xxLlt and install it over the older OS. Would that allow a new assignment of a password?
|
You can also use recovery mode and set a new password. Here's a guide:
http://askubuntu.com/questions/24006...ative-password |
Is your wife's user account still there? Can you log in as that user?
|
Just a side note that Ubuntu 12.04 is only supported until 16 April 2017.
You might consider installing a more up-to-date version (16.04 is recommended as it is the most recently released version with long-term support). |
I have tried the askubuntu method of recovry with no joy. only allows changing standard users passwds.Anytime I try to install and app,update or edit users I get the Authentication token error. I still have the 12.04 lts CD. Could I do a reinstall with it to them assign a new addmin user?
|
The guest login is extremely limited and you won't be able to log in as a guest user and do much of anything. For example, logged in as a 'guest', you cannot switch to gain root/admin privileges even with the correct password. Additionally, any changes you make as a guest are lost on reboot by design. You indicate that your wife had admin rights and you know the password so just login in as the user your wife created and her password should work. If that user no longer exists, that's a different problem.
The link below gives some info on the Ubuntu guest account and it's limitations: https://help.ubuntu.com/community/CustomizeGuestSession |
Quote:
|
Quote:
|
Quote:
http://releases.ubuntu.com/16.04/ (1st "32-bit PC (i386) desktop image" down) |
Quote:
|
Quote:
In your initial post, you mention the 'old Viao'. How old is old? Ubuntu might not be a good choice. You should check the minimum hardware requirements for Ubuntu. The link below lists the absolute minimums. https://help.ubuntu.com/community/In...emRequirements |
Quote:
|
*IF* you want to 'get down&dirty' aka CLI (like *I* -love- such puzzles),
you might investigate (/fix) 'id' owner and/or the UID/GID *numbers* in /etc/passwd There's some 'basic tricks' here, since -all- files are owned by a UID# (not name) BUT directories are names. So, maybe, you can ?easily hack? it back into all working! ForWhatIt'sWorth :D |
You do need to install a currently supported version (16.04), and that will also solve the password problem.
Quote:
Code:
su user1 Also, you can press ctrl+alt+F2, and log in as the administrative user. Quote:
|
Quote:
On default Ubuntu 16.04 and 14.04 versions I have installed, logging in as guest, no commands prefixed with sudo do anything nor do commands such as su user1 or su - user1 when user1 has root privileges. They all result in 'operation not permitted' messages. Ctrl+Alt+F2 does allow login to the account with sudo privileges. Quote:
https://help.ubuntu.com/stable/ubunt...t-session.html https://help.ubuntu.com/community/CustomizeGuestSession |
All times are GMT -5. The time now is 05:52 AM. |