[SOLVED] Why can't login into debian with normal name ?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My os is debian8,there are two account names ,one is root one is normal user named `debian8'.
I can login with both of them `root` and `debian8`.
Today ifound that `debian8` can't login into my os,`root` and its password can.
I am sure that the password for account name `debian8` is correct.
What' the matter with my os? How to fix it?
Logout and then login with `debian8` ,failed .
cat /var/log/auth.log
Jun 21 15:15:25 hwy lightdm: pam_unix(lightdm:session): session closed for user root
Jun 21 15:15:25 hwy polkitd(authority=local): Unregistered Authentication Agent for unix-session:3 (system bus name :1.21, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jun 21 15:15:25 hwy lightdm: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Jun 21 15:15:25 hwy systemd-logind[695]: New session c3 of user lightdm.
Jun 21 15:15:28 hwy systemd-logind[695]: Removed session c2.
Jun 21 15:15:34 hwy lightdm: pam_unix(lightdm-greeter:session): session closed for user lightdm
Jun 21 15:15:34 hwy lightdm: pam_unix(lightdm:session): session opened for user debian8 by (uid=0)
Jun 21 15:15:34 hwy systemd-logind[695]: New session 5 of user debian8.
Jun 21 15:15:34 hwy systemd: pam_unix(systemd-user:session): session opened for user debian8 by (uid=0)
Jun 21 15:15:34 hwy lightdm: pam_unix(lightdm:session): session closed for user debian8
Jun 21 15:15:34 hwy systemd-logind[695]: Removed session 5.
Jun 21 15:15:34 hwy systemd: pam_unix(systemd-user:session): session closed for user debian8
Jun 21 15:15:34 hwy lightdm: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Jun 21 15:15:34 hwy systemd-logind[695]: New session c4 of user lightdm.
Jun 21 15:15:37 hwy systemd-logind[695]: Removed session c3.
Jun 21 15:15:42 hwy lightdm: pam_unix(lightdm-greeter:session): session closed for user lightdm
so do you mean: you created a user/password (several times), worked at first but now you can't login
I would increase the log level of pam (or probably check another logfiles too)
1.The last change on my pc is to execute aria2c command to download torrent ,then i power off my pc.
2.In the afternoon, i find that `debian8` can't login when to reboot my pc ,then i tried with `debian8` twice.
The fact is not that
there is one account name `debian` ,and i add new name as `debian8`, two `debian8` was added twice, no.
Why my os do not assign a session for `debian8`?
From the log info : Jun 21 15:15:34 hwy lightdm: pam_unix(lightdm:session): session closed for user debian8
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.