UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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:
Is your wife's user account still there? Can you log in as that user?
She is no longer a user. What happened was I signed in as her, changed her username to mine and then her password would not work any more. I used ask ubuntu method nad got a new password that will let me sign in as a standard user but still can't install anything
Thanks Hydrurga. I think I will try to use an ISO cd and see if it will run. I should be able to boot into safe mode and get the ISO to install. Need to save a few fills first then I will give it a shot.
What happened was I signed in as her, changed her username to mine and then her password would not work any more
Which is why you are having this problem. The process would have been to log in under your wife's user name, use her password with sudo/admin privileges and create another user (yourself) and give yourself sudo/admin rights.
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.
Which is why you are having this problem. The process would have been to log in under your wife's user name, use her password with sudo/admin privileges and create another user (yourself) and give yourself sudo/admin rights.
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.
*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
Yes, you can. If the administrative user still exists (named "user1", for example), as "guest" you can open a terminal and enter
It doesn't. Post 8 where the OP states he changed the name of the primary user to another name. Doesn't say how?
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:
All changes you make in the personal configuration for "guest" are preserved on reboot - except in the special case of "kiosk" mode.
The only way I've been able to save data from a guest session is as explained at the Ubuntu documentation site below, to a flash drive. Logging into an Ubuntu guest session pops a window every time stating no data will be saved on logout which is the default unless the guest user settings are modified as shown on the page at the second link below. Out of curiosity, which release of Ubuntu are you using? Based on the info at the Ubuntu sites, I'm surprised you are able to use sudo/su from the guest without modifications but then, I don't boot the Ubuntu system often.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.