Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2849

Beginners Questions • Re: [O/S] Debian won't log me in

$
0
0
If you have a root account enabled you might be in luck:
Go into a TTY while you're at the login prompt by pressing

Code:

CTRL+ALT+F2 or F3
Input root username, and root password to login into the TTY.

enter this command to verify that your user account has a password set:

Code:

passwd -S yourUsername
if it has an "L" next to your username its locked, if it has an "S" then its all ok.
in case of "L" enter this to unlock:

Code:

usermod -U yourUsername
If the above is not the case, then enter this command to verify if your user account got blocked by system due to too many failed password attempts:

Code:

faillock --user yourUsername

If it has multiple rows with your username and the "Valid" column has "V" then your account is locked due to too many failed login attempts...

Unlock it via:

Code:

faillock --user yourUsername --reset
When you're done press CTRL+D to safely log out / detach root from the TTY2 and go back to GUI Login screen via CTRL+ALT+F7 or F6 (cant test, but if I recall correctly Debian has the GUI login manager on F7 by default) and retry login.

If my solution helped, please don't forget to push the "Thumbs up" button, near at the left of my profile pic, and mark the topic as solved.

Statistics: Posted by silensys — 2024-07-30 18:58



Viewing all articles
Browse latest Browse all 2849

Trending Articles