#Password deactivated, cant log in.

1 messages · Page 1 of 1 (latest)

limber oxide
#

Hey there,
some time ago i deactivated in my settings in the desktop my password (i was logged in).
Now when i boot Mint requires a password, since i deactivated it in the past, i cant even type in the password.
I just can press log in, and it fails. There is no way for me to Type anything.

I also tried to reset my password to a new one, but it doesn't change that i cant type anything.

(my unsavvy knowledge thinks that i somehow need to reactivate the option to have a password, somewhat from "deactivated" to "enabled")

tall kiln
#

How exactly did you deactivated it?

limber oxide
# tall kiln How exactly did you deactivated it?

i went to system settings, useres and then deactivated it there. I cant really remeber where i unchecked the box. I did it pretty similar to what is shown in this video: https://youtu.be/IP9hvZ6nxz8?si=TFBmmJYkQEGFCyef

Only difference is, when i press enter i dont get to the desktop but it fails my log in (as shown in the video)

This video will show you how to remove the log on password for linux mint

Be sure to like the video, leave a comment, subscribe to my channel and hit the notification bell so you don't miss anything!

Thanks

:)

▶ Play video
tall kiln
#

Ok, so you're stuck on a login screen. Press ctrl+alt+f5 can you login there?

limber oxide
tall kiln
#

Press ctrl+alt+f5

honest raptor
limber oxide
#

Oke so now I see:
Password:
Signature not found in user keyring
Perhaps try the interactive 'ecryptfs-mount-private'
To run a command as
administrator (user "root"), use
See
"man sudo_root" for details.
"sudo
< command>

tall kiln
#

If you can type in there, type

groups

limber oxide
tall kiln
#

ok, then type

sudo gpasswd -d $USER nopasswdlogin

#

and recheck with

groups

after. nopasswordlogin shouldn't be in the list

#

Ok, type

reboot

and then try logging in normally

limber oxide
#

Now I can type in my password in the regular login screen, but after I press enter I get a short blackscreen and then it remains in the login screen, where I can type in my password again

tall kiln
#

There is a mountain looking icon next to the password field, click there and tell me what option is selected, and what are available

limber oxide
#

Cinnamon default, cinnamon software rendering, cinnamon on Wayland experimental

#

I am on default

tall kiln
#

Try software rendering then

limber oxide
#

Not working, still the same thing happens

tall kiln
#

and wayland?

limber oxide
#

Now I have a blackscreen, that seems not to go away

tall kiln
#

Do you have encrypted disk or home folder by chance?

limber oxide
#

I can’t remember, I don’t think so

tall kiln
#

Let's see. press ctrl+alt+f5 again, login and type reboot

limber oxide
#

Now I’m back at the login screen

tall kiln
#

Ok, try logging in to cinnamon default again. After being booted back to the login screen, press ctrl+alt+f5 login there and type

grep EE /var/log/Xorg.0.log

photo the result

#

hmm....

#

try running

ecryptfs-mount-private

what does it say?

#

ok.... press ctrl+alt+f7 to go back to login screen and try to login

limber oxide
#

Yooo

#

Im in my Desktop

#

Is there now anything that I have to do, to prevent this from happening again ?

tall kiln
#

Yeah.. and you do have an encrypted home folder, btw

limber oxide
#

Oke, so what do I do ?

tall kiln
#

Open the terminal and type

ls -l ~/.ecryptfs/

what does it show?

#

and

ls -ld ~/.ecryptfs

limber oxide
#

lrwxrwxrwx 1 gog gog 29 Sep 12 2024 /home/gog/.ecryptfs -> /home/.ecryptfs/gog/.ecryptfs

tall kiln
#

Let's try

ecryptfs-rewrap-passphrase ~/.ecryptfs/wrapped-passphrase

it'll ask for the password, then new password - use the same password

limber oxide
#

did that

tall kiln
#

what's the output?

limber oxide
#

nothing

#

just a new line in shell

tall kiln
#

did it ask for 3 passwords basically?

limber oxide
#

yea, old wrapping passphrase, new wrapping passphrase, and new wrapping passphrase again

tall kiln
#

Ok. restart and see if it works

#

Do you even need an encrypted home?

limber oxide
#

Login worked perfectly

tall kiln
#

ok....

#

And since you have an encrypted home auto-login won't work

limber oxide
#

Oke, so what did we just do ? Decrypt or disable auto login ?

tall kiln
#

We removed your user from nopasswdlogin group and fixed encrypted home auto-unlock

limber oxide
#

So I’m still encrypted/safe ?

tall kiln
#

Yes, your home folder is encrypted

#

Just don't try to setup auto login or you'll break it again

limber oxide
#

Got it. Thanks very much my G 😘