LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-24-2022, 04:07 PM   #1
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Rep: Reputation: 28
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.

Help's needed.

Rich

Last edited by rshepard; 02-24-2022 at 04:08 PM.
 
Old 02-24-2022, 04:38 PM   #2
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 797

Rep: Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916
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.
 
Old 02-24-2022, 04:46 PM   #3
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
Just in case, you may find some useful information in this thread:

https://www.linuxquestions.org/quest...ad-4175708040/
 
Old 02-24-2022, 04:55 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,927
Blog Entries: 45

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member Response

Hi,

Why not try 'adduser'. You can create user then add user to groups and password with that script.
Hope that helps.
 
Old 02-25-2022, 09:33 AM   #5
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by 0XBF View Post
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>.

Thanks,

Rich
 
Old 02-25-2022, 09:46 AM   #6
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by onebuck View Post
Hi,

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.

Thanks,

Rich
 
Old 02-25-2022, 02:31 PM   #7
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,918

Rep: Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035
-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.
 
Old 02-25-2022, 02:37 PM   #8
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by GazL View Post
-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'll update this thread after the weekend.

Rich
 
Old 02-25-2022, 05:07 PM   #9
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 797

Rep: Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916
I'd be interested to know if you find anything.

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.
 
Old 02-28-2022, 10:02 AM   #10
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by 0XBF View Post
I'd be interested to know if you find anything.

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.
 
  


Reply

Tags
15.0, login



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Ubuntu 10.04 wireless problems Dell latitude d610 Dell mini wlan 1470 Westz Linux - Newbie 5 02-01-2018 04:11 AM
[SOLVED] 14.2 on Dell Latitude E5410: .Xmodmap not implemented rshepard Slackware 2 06-26-2017 12:15 PM
Dell Latitude E5410 jmarke Linux - Laptop and Netbook 6 08-10-2011 04:08 PM
Finding a distro that works on a Dell Latitude E5410 japhyr Linux - Newbie 4 12-07-2010 12:25 AM
Install Debian on a Dell PE 1950 III Quad Core Xeon E5410 binq Linux - Newbie 4 07-07-2008 03:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration