Confusion with passwords & updates.

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
lazarus
Level 3
Level 3
Posts: 153
Joined: Mon Jul 02, 2018 11:36 pm
Location: Oberon, OZ

Confusion with passwords & updates.

Post by lazarus »

Recently a friend brought me her laptop, LM18.3 Cinnamon, as she'd forgotten her password.

I reset it through /bin/bash in the grub menu and all seemed well. Except... she cannot su to root, it rejects her password. sudo works. Using sudo on her account I created a 2nd account for myself and added it to sudo group. She can su to my account, it asks for the correct password (ie. mine), but not to root. Hmmm...

Similar weirdness, which may be related: logged in on her account, update mgr shows everything is up to date. Log in on the fresh account and it shows a whole series of lvl4 upgrades in the queue, including the latest kernel, systemd, xorg, mesa and ndiswrapper. No lvl 3 or lower, just lvl 4's.

What the...?

Log out and log back in on her account, the queue is empty. Check the current version numbers... everything appears up to date.

Is this just a permission thing, the addition of the new account to sudo group meaning all these files need to be touched by the new account? Or does it actually want to download/install them all over again?

I'm not willing to hit the update button until I have some grasp of what's going on here and what the consequences might be.
- Andy

I may be weird but I'm saving up to become eccentric.
User avatar
smurphos
Level 17
Level 17
Posts: 7332
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Confusion with passwords & updates.

Post by smurphos »

For the Update Manager issue check the Update manager preferences on her account. She's probably got level 4 updates hidden.

For the su issue - does the root account have a password set? Depending on which version of Mint was first installed it might be set to her old forgotten password (started life as an 18.1 or earlier install) or might not be set at all (18.2 or later). Changing the user password does not change the root password if one is set.

Does sudo –i (using the user password) work to get a root shell?
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Post Reply

Return to “Newbie Questions”