LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Bodhi (https://www.linuxquestions.org/questions/bodhi-92/)
-   -   Password rejected after first update of Bodhi 5.0 (https://www.linuxquestions.org/questions/bodhi-92/password-rejected-after-first-update-of-bodhi-5-0-a-4175659899/)

Nobodhi 08-27-2019 11:33 AM

Password rejected after first update of Bodhi 5.0
 
Hello enlightened ones! I did a fresh install of Bodhi 5.0-legacy deleting a working version 4.5. It worked fine so I did a full update. When booting up for the first time after updating, my passphrase response was "bad password" which kept me locked out of the disk. I did lots of searching and thought that maybe because I selected a 101 keyboard layout when it's really 104 that might have caused it but I see now, that probably wouldn't matter. I was about to start over when I tried the "recovery mode" boot option. Everything checked out ok and when it asked for my password I gave it a try and it logged me in! Can anyone shed some light on this situation as it does make boot up more of a hassel and I wouldn't be able to reboot (and I'd rather not have to start over and possibly have the same issue). Thank you for your time! /Used custom built 32 bit PC, 2007 Asus motherboard, ACPI bios not updated/ Peace

ondoho 08-27-2019 12:54 PM

Which password is this?
User login?
Disk encryption?
Something else?
Does the password contain special characters?

Randy4bodhi 08-27-2019 07:12 PM

I don't know if this is related to an old bug in Bodhi. But at one time, it wouldn't let you log in if your password had certain symbols in it. I thought it had been fixed. But if you use symbols in your password, change it to something without symbols just to check.

Nobodhi 08-29-2019 11:07 AM

Thanks for replying! Stated more concisely : my fully encrypted disk only recognizes the passphrase in recovery mode. Other info, no special characters used - I validated MD5 hash before installing. Thanks Randy4bodhi for passing that info along, I was thinking of changing the passphrase anyway but after searching how, I thought I should wait for now, cause of various warnings and my lack of expertise. At least now it's usable, no problem with the graphic drivers etc. / peace

ondoho 08-30-2019 04:11 AM

Quote:

Originally Posted by Nobodhi (Post 6031034)
Thanks for replying! Stated more concisely : my fully encrypted disk only recognizes the passphrase in recovery mode. Other info, no special characters used - I validated MD5 hash before installing. Thanks Randy4bodhi for passing that info along, I was thinking of changing the passphrase anyway but after searching how, I thought I should wait for now, cause of various warnings and my lack of expertise. At least now it's usable, no problem with the graphic drivers etc. / peace

Now it's usable normally, no need to boot into recovery mode?
So the problem "fixed itself"?

Nobodhi 08-30-2019 11:23 AM

No, It's the same as ever. I'm just mentioning that at least I can actually use it, in recovery mode, when for instance, evidently the graphics might need a standard boot. It seems to function the same as if I had booted normally , but boot up is a hassel. Has anyone ever heard of a half working password? :) Thanks / peace

ondoho 08-31-2019 02:18 AM

I don't have much experience with disk encryption, and none with full encryption.
I do get prompted during early boot process to enter a password, that's just white text on black, no GUI.
Is it the same for you? And that's where it sometimes fails? Does it say anything beyond "bad password" when it fails?
A screenshot might be helpful.
Can you somehow narrow down when it fails and when not?

Nobodhi 08-31-2019 01:15 PM

This is the standard boot I'm offered, and it always fails. Power button on, then after the Asus motherboard logo screen, the first screen (black with white text) gives the options of F1 to continue, Delete to enter setup. I hit F1 then I get a black screen with small white text (entering something about Specter) then the main log in screen (like on the live version, a mostly green beehive mesh background) appears with a window with a lock, and the text (please unlock disk sda5_crypt) After inserting my passphrase, the dots (password markers) dissapear. In white text at the bottom of the screen it says (exactly): cryptsetup(sda5_crypt):cryptsetup failed,bad password or option? Gotta go for now, I'll document what works later cause it had the strange result, today only, of reading the date as May 20, 2018, keeping me from being able to use Chromium or Midori. I rebooted and I think I hit Delete when boot was at the second black screen (showing Specter) then it gave me the option of logging in from there. I still went to recovery mode as usual and this time the date was correct, so I am able to post this reply now. Thanks / peace

r0bur 08-31-2019 01:34 PM

Quote:

"after the Asus motherboard logo screen, the first screen (black with white text) gives the options of F1 to continue, Delete to enter setup."
- seems like BIOS is not configured after the system board battery replace. Or the battery is expired (when the date/time is not preserved between reboots).

hemlocktree 08-31-2019 07:14 PM

my wife's dell started doing that so i hit f1 and continue. i never saw that before but figured it was the onboard battery. everything works fine after that beep beep beep boot.

Nobodhi 09-01-2019 09:23 AM

Thanks, both of you! It's a 13 yr. old CMOS battery. It would maybe answer why; the whole time I used version 4.5 I always had to wait a while after boot for the date + time to auto-update before I could surf. However, in this fresh install of 5.0, I opted for being online to have auto detection of date + time in setup hoping I wouldn't have any issues and it worked fine for a cupple of weeks - even no apparent waiting for auto-update. But yesterday it failed to update - the wifi was connected but I just sat there trying in vain to reset date + time. But now I've finally found Swami Control Panel, and it looks like I could manually set date + time if necessary. I did set the date + time in bios and when I managed to log on, the time + date were from yesterday's boot. Soon, the auto-update worked but in the taskbar the time is correct and the day is yesterday. :) Oh, cool, it just updated the day(after about an hour) It's 7.23 AM and all is swell. /peace

r0bur 09-01-2019 11:20 AM

For modern OSes jumping date/time may cause some sort of confusion, especially in cryptography. The best solution is to replace the expired battery with new one.

Nobodhi 09-02-2019 12:36 PM

Interesting, I'll replace the battery first and see if that affects the encrypted disk logon issue. If it's still the same, I'll be asking for advice for the simplest way to change the password - perhaps use GNOME Disk Utillity? Thanks for your input, it's much appreciated! / peace

r0bur 09-02-2019 12:51 PM

There is a funny story:
- Give a chicken broth to the patient!
- Good, but it will not cure it...
- But it will not harm it too!

Replacing expired onboard battery is a smart step anyway.

r0bur 09-02-2019 01:01 PM

Please look about the similar situation with disk encryption trouble:

https://askubuntu.com/questions/1034...grade-to-18-04

Maybe it will useful.

Nobodhi 09-03-2019 12:04 PM

Well, this time the broth healed the patient! I just ripped the battery out (it wasn't a user friendly battery holder) it flipped accross the MB and then I put in a new one. Now, boot goes nicely to the logon screen and it recognises my passphrase!!! Thank you very much and thanks to all of you that gave your time to this issue! :) / peace

r0bur 09-03-2019 12:10 PM

Great!

Nobodhi 09-10-2019 01:25 PM

Update: I thought I should mention that after changing the CMOS battery I didn't restore the default bios settings in any manner, I just set and saved the date and time, which actually didn't hold , and in spite of that the log in issue was fixed! Once logged in to the disk, the date and time were wrong, so I checked the bios and saw that the date and time were just marginally up from the default time of Jan. 2006. I reset the date and time and chose the option there to restore the default settings, saved it, and this time the date and time held! But after login, only the date is correct, the time displayed is always the time I last logged off. However, I've been able to surf anyway and the time updates in about a minute when I have a 4G connection. So, that's my story and I'm stickin to it. Hope this makes sense to someone or helps someone like me to whom it doesn't make any sense! Thanks again for your support! / peace


All times are GMT -5. The time now is 11:40 PM.