Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Installation] cant login with correct password

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
kayZZ
Posts: 1
Joined: 2023-05-08 10:07

[Installation] cant login with correct password

#1 Post by kayZZ »

hello
I tried installing debian 32 bit on an old laptop
Now I can't login as user with my correct password
I can however login with user:root password:<rootpassword>
On creating a new user (while in root login) I still run into the same error
Searchin online I see suggestions like
"
Perhaps your .profile, .bash_profile, /etc/profile, or .bashrc contains an error, and makes the shell exit?

If thats the case, use ctr-alt-F1 to enter the shell. use the command su - root to enter a root session, and then use nano or vi to edit the file that is broken.
"
But i don't know how to look for such errors
I am beginner Linux user but I am confident in using the terminal
Please do tell what more relevant information i can provide
Any help is appreciated
Thanks

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2042
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 151 times
Been thanked: 212 times

Re: [Installation] cant login with correct password

#2 Post by Hallvor »

Please type

Code: Select all

ls -l /home


to see the permissions of the home directory for your user account. The directory should be owned by you and have the following permissions drwxr-xr-x.

Like this:

Code: Select all

hallvor@debian-mini:~$ ls -l /home
totalt 4
drwxr-xr-x 22 hallvor hallvor 4096 mai    8 07:45 hallvor
See if the logs have something interesting. Type this as root:

Code: Select all

tail -n 100 /var/log/syslog
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

dpat99
Posts: 3
Joined: 2023-05-16 08:54

Re: [Installation] cant login with correct password

#3 Post by dpat99 »

I have the same exact problem.

Do you have any more tips, or did you solve it kayZZ?

User avatar
Bloom
df -h | grep > 90TiB
df -h | grep > 90TiB
Posts: 505
Joined: 2017-11-11 12:23
Been thanked: 26 times

Re: [Installation] cant login with correct password

#4 Post by Bloom »

Perhaps a keyboard layout issue? Sometimes Debian will work with a US QWERTY keyboard in TTY1 (the first terminal text screen), while a different keyboard layout like French AZERTY is present in the graphical desktop enviroment. If you then type your password with the AZERTY layout in mind, it won't work when the actual layout is QWERTY.

Post Reply