No login possible after sudo in Mint

Re: ThunderRd's post #97
Because of Terminal's own weirdness it looks like there's a space between "login.keyring" as well as "user.keystore." Taking its foibles into account there is most, most likely no "Space" between them.

Yes, Daniel~, Terminal can induce many errors because that's what the evil Unix bahstage was trying to do decades ago. By typing in the requests and commands I'm trying to learn and use the precision involved. I swear I'll learn to use cut-n-paste as soon as I can, but please realize that following ThunderRd's and the other fantastic folks that are working so hard to help me requests on the command line are very often un-cut-n-pastetable.

Thank you a bunch for your concern and help!
 
Ref Gizmo post # 91
Ref Daniel~ post # 98
Ref ThunderRd post # 97

Gizmo, the link you gave me about cutting - pasting text to the Terminal worked like a charm. Thank you very much!

Thank you for the nudge Daniel, I needed that!

Thank you Sir ThunderRd! I followed your instruction for Option A by cutting and pasting your command line. I then entered all of the commands you posted. Sorry, I dunno how to copy what's displayed in Terminal to a post, but there are 11 items. "total 64"
Skipping the "drwx, drwxr-xr-x etc, the number, my-name twice etc" info, "keyrings-OLD" is among the 11 listed items.
If you want to see all of them, please let me know, before the commands are hidden with age.
 
Nope, if keyrings-OLD is there, you have successfully renamed the directory. I'm satisfied with that.

Right, you're going to reboot now.

One thing though, if you are asked for any *new* passwords upon rebooting, it should be a one-time-only deal. If you are asked for a 'new keyring password', enter BLANK PASSWORD ONLY [in other words, leave the field blank] and press 'continue' or 'OK' or whatever it offers. You will not be asked for any new passwords again after this.

It may also ask you if you accept 'unsafe storage'. If it does, click yes and continue.

Do not enter any new passwords. Enter only your main password [the one you created when installing Mint] to login.

OK, close your eyes, think of England, and reboot for Queen and country.
 
Last edited:
Thank you, ThunderRd!
Ref ThunderRd post # 104

Rebooted, no prompts whatsoever were seen. Whew! Just for laughs I'm gonna do a complete shutdown and boot from "cold." Hoping no prompts are seen!
 
After waiting four minutes to shutdown, plus eleven more minutes for M$ to ram components of Win10 down my throat unasked for...wait a minute... I was hallukinating from the horrible past. Eek!

Praise Linux!!
Shutdown and cold boot produced no password prompts. Me so happy!
Except for the fact that I'd prefer to enter my one and only known password to completely boot. I'll get some help with that tomorrow, hopefully.

You guys are the world's best Linux helpers, thank you a million!
 
George, I'll help you with the autologin later. Stand by for that.

First, we need to test. Can you sudo now?

Try:
Code:
sudo fdisk -l    [that is a lowercase L]

You should be asked for your normal login password, and then you should get some output. If you see some hard disk information output from fdisk, sudo is working correctly [I don't need to see it]

If your fdisk command is refused, there's something wrong, but I am 99.9% sure the command will work.
 
Last edited:
@ Daniel @ Booman:
OK, looks like George's sudo problem is most likely solved.

While I wait for him to confirm this, can one of you Mint users please type 'sudo mdmsetup' and tell me what you see? I'm looking for the 'security' page. Maybe a screenshot for my benefit?

I think this is where George can disable the automatic login, but I need confirmation.

"Close your eyes, think of England, and pull the trigger." I'll bet 5 bucks I'm the only one here that knows what movie that's from.

Anyone want to weigh in? Clue: David Niven
 
Last edited:
Peace, health and wealth be upon your households ThunderRd, booman, Daniel~ and Gizmo. Thank you oh so much!
Copied and pasted your command, here is the return:

[sudo] password for my-name:

I sure hope it's what we want to see.
 
Alrighty then, after entering my password and "Entering" I see:

"WARNING: GPT (GUID Partition Table) detected on 'dev/sda' ! The util fdisk doesn't support GPT. Use GNU Parted."

Disk /dev/sda: 512.1 GB 512110190592 bytes
255 heads, 63 sectors/track followed by a lot more normal looking HDD (SDD in my box) information

Then

Device Boot Start End Blocks ID System
/dev/sda1 1 1000215215 500107607+ ee GPT

and back to my my-name@shortened version of my-name ~$
 
OK, that's done. Your sudo/keyring problem is gone.

Now, to remove the autologin, try this. I was waiting for Daniel to try it first, but he hasn't checked in, so:

Code:
sudo mdmsetup

You should raise a window with some tabs after you enter your password. Click on the 'security' tab and tell me what you see there. Or take a screenshot, if you can, and post it here.
 
Last edited:
Your wait has been rewarded...I think! ":O}

I was just so tempted to remove the first pic, Then I thought no wait, this is a teachable moment! LOL

George look at the two pic and see how easy it is to go wrong...even when you cut and paste! ":O}
 

Attachments

  • Screenshot from 2016-03-24 19:46:47.png
    Screenshot from 2016-03-24 19:46:47.png
    105 KB · Views: 1,139
  • Screenshot from 2016-03-24 19:50:08.png
    Screenshot from 2016-03-24 19:50:08.png
    109.3 KB · Views: 1,117

Attachments

  • Screenshot from 2016-03-25 02:41:16.png
    Screenshot from 2016-03-25 02:41:16.png
    212.8 KB · Views: 1,200
  • Screenshot from 2016-03-25 02:42:06.png
    Screenshot from 2016-03-25 02:42:06.png
    314.5 KB · Views: 1,078
  • Screenshot from 2016-03-25 02:42:52.png
    Screenshot from 2016-03-25 02:42:52.png
    465.7 KB · Views: 1,116
  • Screenshot from 2016-03-25 02:43:19.png
    Screenshot from 2016-03-25 02:43:19.png
    506.4 KB · Views: 1,174
  • Screenshot from 2016-03-25 02:45:09.png
    Screenshot from 2016-03-25 02:45:09.png
    1.3 MB · Views: 1,146
@Daniel~
In the autologin screenshot, what does it look like when you dropdown the 'enable automatic login/daniel' pane?

I am pretty sure this is where George can disable the autologin function, and make it so he has to enter his password when booting.

Can you screenshot that for me?
 
Screenshot from 2016-03-25 08:38:40.png
@Daniel~
In the autologin screenshot, what does it look like when you dropdown the 'enable automatic login/daniel' pane?

Can you screenshot that for me?
In my case it doesn't drop down it mearly highlites my name, probably because it's a single user machine?
P.S.
Very strang! I did my timed screen shot, but the color change doesn't show up. In any case my name is all that drops.
 
Can you UN-tick the box to the left of 'enable automatic login'?

@George:

Code:
sudo mdmsetup

Enter your password, and go to the autologin page. Untick the 'enable autologin' and untick the 'enable timed login' boxes.

Then logout or reboot, and see what happens.
 
You guys are absolutely the BEST Linux helpers in the known world!

Ref Daniel's post #116

The very first screen in his examples looks darn near exactly, or maybe absolutely like my Terminal. Guess I shouldn't be concerned about the ~six "GTK critical...... failure lines? I hope not, 'cause I don't know what "GTK" means.

My machine produced a window very, very near to identical with Daniel's~ second screen, horizontally speaking. I de-selected "automatic login" and disabled "timed login." Hope this is OK.
Then I shut her down and cold booted.

Voyla like them sez in France, it paused during boot and asked me for my password. I filled it in, "Entered" (should have clicked instead) and hey presto my lovable Linux machine presented me with the glorious background photo of the Grand Canyon that I like so much.
Gonna reboot, fingers are crossed...

Success! Thank you extremely much for your help and patience!!
 
Back
Top