[SOLVED] New 15.0 installation on Dell Latitude E5410: cannot log in as user
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
New 15.0 installation on Dell Latitude E5410: cannot log in as user
I'm having to keep installing 15.0 on the laptop because while I can add me as a user I cannot log in as that user. Running useradd as root works, but trying to log in as the user keeps failing and a new login prompt displays.
I've no idea where the problem's source is, and I've not before had this issue on any host in the 19 years I've been running Slackware; about 12 ears on this laptop.
FWIW, I had no issues with a new installation of 15.0 on the Lenovo ThinkPad X200.
You say you ran 'useradd'. Did you also run 'passwd <user>' after to set password for your new user? Sorry if this is too basic but if you forget to set the password then login will fail with similar symptoms.
Otherwise you could check '/var/log/secure' to see if pam has any helpful messages.
You say you ran 'useradd'. Did you also run 'passwd <user>' after to set password for your new user? Sorry if this is too basic but if you forget to set the password then login will fail with similar symptoms.
Otherwise you could check '/var/log/secure' to see if pam has any helpful messages.
Yes, I did. While I used the -p option in useradd to specify the user's password I found it ineffective, so I'd run passwd <user>.
Why not try 'adduser'. You can create user then add user to groups and password with that script.
Hope that helps.
They are equivalent. I've been using useradd for years without any issues. Doing clean installations of 15.0 on the Lenovo ThinkPad X200 useradd had no problems. For some reason yet unknown the Dell has issues which it didn't have running Slackware since about 2010 and being upgraded as new versions were released.
There's another issue on the Dell regarding ntpd during boot; I'll put that on another thread.
-p on useradd expects a password in encrypted form as an argument, so yeah, that won't work if you give it a plain text password.
As 0xBF suggests, take a look in /var/log/secure.
The last two times I turned on the Dell I had no problem logging in. I'll do more testing over the weekend, but it might have been a quirk that was resolved without human intervention. I hope that's the case.
I've been trying to reproduce some of the login issues posted on these forums lately on my Dell XPS13, but it just works. It could be something different in the hardware/drivers with a different model though.
I did upgrade from 14.2 -> current -> 15.0 instead of a fresh install. I'll try a clean install this weekend to see if anything's different that way.
In the meanwhile I hope your luck changes. Checking pam's log at /var/log/secure might show something, but the default pam setup works as far as I've tested.
I've been trying to reproduce some of the login issues posted on these forums lately on my Dell XPS13, but it just works. It could be something different in the hardware/drivers with a different model though.
I did upgrade from 14.2 -> current -> 15.0 instead of a fresh install. I'll try a clean install this weekend to see if anything's different that way.
In the meanwhile I hope your luck changes. Checking pam's log at /var/log/secure might show something, but the default pam setup works as far as I've tested.
The login issue disappeared on its own. But, booting the 5.15.19 generic kernel paused at an ntpd line and sat there for a long time (I walked away after a couple of minutes). When I returned it had completed booting. My Lenovo ThinkPad X200 with a clean 15.0 installation boots quickly and doesn't even blink when it loads ntpd.
As a result, I removed the SSD from the Dell and will take it to the recycler, FreeGeek (Portland, OR) when I pick up the ThinkPad X1 Carbon gen6 I just bought from them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.