You are not logged in.

#1 2022-03-14 02:33:35

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

[Solved] Login password fails.

[SOLVED] Deleted all partitions and started fresh - right after making a backup.
- - ALL GOOD!

Started a while ago where these lines in my .bacshrc had to be commented out because highlighted words were "blinking" on man pages:

##### from @nobody ↓↓↓
# man() {
#     env LESS_TERMCAP_mb=$'\E[01;31m' \
#     LESS_TERMCAP_md=$'\E[01;96;5;74m' \
#     LESS_TERMCAP_me=$'\E[0m' \
#     LESS_TERMCAP_se=$'\E[0m' \
#     LESS_TERMCAP_so=$'\E[38;5;246m' \
#     LESS_TERMCAP_ue=$'\E[0m' \
#     LESS_TERMCAP_us=$'\E[04;96;5;146m' \
#     man "$@"
# }
##### from @nobody ↑↑↑

did not do anything I can think of but the nice colourful manpages are gone.

Now It seems my system does not like my 'password'.  The same password I have used for a while now, like since crunchbang days, so it's not that I do not know it.

However, I have reinstalled my system at least a dozen time over the past 3 or 4 days.  Works great for most things then 'poof' it come up "incorrect password"  Usually after a "log out and come back" or a "shutdown-reboot".  And definitely after shutting down for the night.

Anyone have any clue as to why my password is failing?

Could these strange files have anything to do with it?  I do not ever recall seeing files like that in my home OR two "file Systems" I do not have a second system here.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2 2022-03-14 11:01:27

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: [Solved] Login password fails.

Sector11 wrote:

Started a while ago where these lines in my .bacshrc had to be commented out because highlighted words were "blinking" on man pages

I did a search for '.bashrc "colourful manpages"'. Found some working code:

# Colourful manpages
export LESS_TERMCAP_mb=$'\E[01;31m'
export LESS_TERMCAP_md=$'\E[01;31m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'                           
export LESS_TERMCAP_so=$'\E[01;44;33m'                                 
export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[01;32m'

from https://github.com/Pipeliner/configs/bl … er/.bashrc

I have reinstalled my system at least a dozen time over the past 3 or 4 days.  Works great for most things then 'poof' it come up "incorrect password"  Usually after a "log out and come back" or a "shutdown-reboot".  And definitely after shutting down for the night.

You do not have autologin? You can sometimes login and sometimes not? Seems a little weird...
Notification about "incorrect password", does not popup when logged in?

I advice you to test with another user. I do not think it is something wrong with the system. So another user would probably not have that problem.

Anyone have any clue as to why my password is failing?

No, but if no problems for other user the cure is simple. Boot Live session, rename your profile to *bak. Create new basic profile with content from /usr/share/bunsen/skel/. Copy back settings, a few at a time. You will eventualy find the faulty setting.

Could these strange files have anything to do with it?  I do not ever recall seeing files like that in my home OR two "file Systems" I do not have a second system here.

I guess it is thunar you use. Have you checked ~/.config/gtk-3.0/bookmarks?

But, I do not understand why you have bootfiles in /home...


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#3 2022-03-14 12:58:07

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,660

Re: [Solved] Login password fails.

Sector11 wrote:

However, I have reinstalled my system at least a dozen time over the past 3 or 4 days.  Works great for most things then 'poof' it come up "incorrect password"  Usually after a "log out and come back" or a "shutdown-reboot".  And definitely after shutting down for the night.

Anyone have any clue as to why my password is failing?

Could these strange files have anything to do with it?  I do not ever recall seeing files like that in my home OR two "file Systems" I do not have a second system here.

Those files aren't strange - they're the system boot files and folders.

The problem is that you appear to have them mounted in /home instead of /boot. I'm somewhat surprised you're actually able to boot. The efi folder needs to be a special type of partition formatted vfat.

During boot, the system should recognize the efi and grub as read only; since you have them in /home, you may be getting permission issues when trying to log in with your password (do you get a permission error?). Did you log in as root to get the screenshot of the file manager?

Can you get to a console with C-A-F2? If so, get to a console and post output of:

ls -la /home

and

lsblk

I think you have a partitioning error(s).

Couple questions:
1. Your computer is actually UEFI and not legacy BIOS?
2. Did you create a GPT partition table before partitioning your disk for the install?


You must unlearn what you have learned.
    -- yoda

Offline

#4 2022-03-14 14:15:42

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [Solved] Login password fails.

rbh wrote:
Sector11 wrote:

Started a while ago where these lines in my .bacshrc had to be commented out because highlighted words were "blinking" on man pages

I did a search for '.bashrc "colourful manpages"'. Found some working code:

# Colourful manpages
export LESS_TERMCAP_mb=$'\E[01;31m'
export LESS_TERMCAP_md=$'\E[01;31m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'                           
export LESS_TERMCAP_so=$'\E[01;44;33m'                                 
export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[01;32m'

from https://github.com/Pipeliner/configs/bl … er/.bashrc

Yes that works thank you

You do not have autologin? You can sometimes login and sometimes not? Seems a little weird...
Notification about "incorrect password", does not popup when logged in?

No autologin - name AND password go into light-locker

Not going to play with another user.  I have one computer and only one system I want it as safe as possible.  I have no idea why these changes have come about lately.

I installed BL then:

sudo apt autoremove --purge bunsen*
cd /etc/apt/sources.list.d/
- and remove the bunsen repos.

Then update and upgrade and add my files

There should be no problem.

As for /home/sector11/.config/gtk-3.0/bookmarks
→ none of the "funny stuff" is there


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#5 2022-03-14 14:58:35

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [Solved] Login password fails.

PackRat wrote:

Those files aren't strange - they're the system boot files and folders.

By strange I meant: should not be there - should be in /

Well I installed via the Debian installer, as I always do.
Use: ext4 - do not format data partitions
Use: ext4 - / - format it and install system
Use: ext4 - /home - do not format it reuse it
and my /dev/sda7 = /boot/efi is fat32 that the Debian installer formats

Can you get to a console with C-A-F2? If so, get to a console and post output of:

ls -la /home

and

lsblk

I think you have a partitioning error(s).

Couple questions:
1. Your computer is actually UEFI and not legacy BIOS?
2. Did you create a GPT partition table before partitioning your disk for the install?

I have no idea how to grab the output of "ls -ls /home" or "lsblk" that I will be able to get from C-A-F2 command line

Question Answers.
1. Yes
2. No idea, I just let Debian installer create all the partitions.  My partitions are set up the same way I have done since Crunchbang.  Via the Debian installer.

BTW /dev/sda1 and dev/sda2 are the /root and /home of a very old system no longer existing.  Just 2x 30GB empty data partitions now.

I reuse them on doing a re-install.  Today I think I'll make a clean wipe of the drive and start over - I have everything backed up on an external drive.

My Partitions
- no idea why I even have a swap Linux never uses it anymore (16GB RAM)

I "must" go to the bank now - back later.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#6 2022-03-14 15:46:12

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,660

Re: [Solved] Login password fails.

gparted looks good with the partition mounted at /boot/efi formatted fat32.

But your file manager has it all mounted in /home with your user directory.

Today I think I'll make a clean wipe of the drive and start over

That's looking like your best course of action.

Last edited by PackRat (2022-03-14 18:52:39)


You must unlearn what you have learned.
    -- yoda

Offline

#7 2022-03-14 18:17:52

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: [Solved] Login password fails.

Sector11 wrote:

Not going to play with another user.  I have one computer and only one system I want it as safe as possible.  I have no idea why these changes have come about lately.

But it has advantages to be able to use a test user. Can not see any security hazzards with that..

I installed BL then:

sudo apt autoremove --purge bunsen*
cd /etc/apt/sources.list.d/
- and remove the bunsen repos.

So, you use old configfiles from helium...

As for /home/sector11/.config/gtk-3.0/bookmarks
→ none of the "funny stuff" is there

No, thought wrong. In Thunar you have one new device listed, you do not recognise...
Maybe as you wrote, best to wipe disk and reinstall.
I recommend you to test reformat /home, keep bunsen-packages and be strict with copying back configfiles from backed up /home/sector11.


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

#8 2022-03-14 18:27:55

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,901

Re: [Solved] Login password fails.

Creating a test user is a good way to help with troubleshooting issues with user accounts. No need to delete the "bad" user just yet. If this test user has similar issues then it may be something's awry with your system.

EDIT: Old configfiles can cause some issues and most users might not notice till something behaves strangely.
When I do a new install I rename my old user profile folder then create a new user profile. That way I can take the defaults on new install and then take a look at the old configs saved in the renamed user profile and then merge them where appropriate with the new ones. A good reason to not reuse a profile across many installs.

Last edited by DeepDayze (2022-03-14 18:46:49)


Real Men Use Linux

Offline

#9 2022-03-14 22:42:02

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [Solved] Login password fails.

Well, I got back from the bank and did not read any of this.

I did what I said I was going to do and everything works fine.

@ Packrat, rbh and DeepDayze thank you all. - smile

EDIT:
My OLD Partitions

My NEW Partitions

In case anyone is wondering why /media/5 /10 /11 and /12.

A long time ago I had 4 or 5 distros here for multi booting.
I created a rsync script to do backups of my data partitions.
Easier to recreate the /media/## partitions than rewrite the script.

My "External Disk"

/media/sector11/disk/M5
/media/sector11/disk/M10
/media/sector11/disk/M11
/media/sector11/disk/M12
/media/sector11/disk/S11-Dec
/media/sector11/disk/S11-Feb
/media/sector11/disk/S11-Jan
/media/sector11/disk/S11-Mar
/media/sector11/disk/Sector11-readme.txt

In April I will delete S11-Dec  - those are my home directory backups.

Last edited by Sector11 (2022-03-14 23:06:21)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#10 2022-03-15 00:45:03

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,901

Re: [Solved] Login password fails.

Good you got it sorted and maybe time for that spring cleaning as well as checking your rsync script to find any bugs lurking there.

Last edited by DeepDayze (2022-03-15 00:45:15)


Real Men Use Linux

Offline

#11 2022-03-15 02:02:37

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,028

Re: [Solved] Login password fails.

No bugs in that - I got it in my early days of #!  wink

It has never let me down.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

Board footer

Powered by FluxBB