LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-23-2020, 10:36 AM   #1
Panther_
LQ Newbie
 
Registered: Jan 2012
Location: Podlasie [Pl]
Distribution: Slackware-current
Posts: 12

Rep: Reputation: Disabled
PAM slackware-current - login problem


Hello,

I'm having trouble logging in to the system (slackware-current). I have updated the system to the current version. After restart I receive a message:

Code:
login incorrect
There are user and root accounts in the system.

My config:
Code:
#/etc/pam.d/login

#%PAM-1.0
auth            required        pam_securetty.so
# To set a limit on failed authentications, the pam_tally2 module
# can be enabled. See pam_tally2(8) for options.
#auth            required        pam_tally2.so deny=4 unlock_time=1200
auth            include         system-auth
auth            include         postlogin
account         required        pam_nologin.so
account         include         system-auth
password        include         system-auth
session         include         system-auth
session         include         postlogin
session         required        pam_loginuid.so
session         optional        pam_ck_connector.so nox11

Any suggestions?
I will add that I have been using slackware since version 8.0. It's been a long time. However, PAM will probably not allow me to continue using it.

Last edited by Panther_; 05-23-2020 at 10:40 AM.
 
Old 05-23-2020, 10:56 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 5,377

Rep: Reputation: Disabled
is this a full installation? have you installed the new packages added to current in the last days?
 
1 members found this post helpful.
Old 05-23-2020, 11:37 AM   #3
Panther_
LQ Newbie
 
Registered: Jan 2012
Location: Podlasie [Pl]
Distribution: Slackware-current
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thank you for your interest,

this is not a full installation. This is an uninterrupted current since 2011. Constantly updated. The computer is for home use.

As suggested in the ChangeLog file, I installed pam, cracklib, and
libpwquality and new shadow.

I have default settings for PAM. Everyone writes that after the update, pam works imperceptibly.
Unfortunately, this is not the case with me.
I tried to replace grooup files by deleting my entries.
I also wanted to add a new user to try to solve the problem. PAM does not allow you to give it a password or permissions.

I do all this on a mounted system.

I don't know where to start?

I do not want to go the road - reinstallation does not work ...
 
Old 05-23-2020, 11:44 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 5,377

Rep: Reputation: Disabled
maybe you are missing some dependencies: I would try with libtirpc and krb5, if you haven't installed them already.

but if you decide to do partial installations you should be able to handle dependencies yourself...

Last edited by ponce; 05-23-2020 at 11:46 AM.
 
3 members found this post helpful.
Old 05-23-2020, 12:23 PM   #5
Panther_
LQ Newbie
 
Registered: Jan 2012
Location: Podlasie [Pl]
Distribution: Slackware-current
Posts: 12

Original Poster
Rep: Reputation: Disabled
You know, my system is a bit of a minimalist version.
I did not have these packages installed. I was probably looking through ChangeLog carelessly ...

You are great man! Thank you very much for your time and problem solution :-)
It was nice to read the message:

Code:
Welcome to Linux 5.4.41 i686 (tty1)

login: 
Password:
Last failed login: Sat May 23 18:40:03 CEST 2020 on tty6
There were 39 failed login attempts since the last successful login.
Last login: Wed May 20 12:06:53 on /dev/tty1
 
Old Yesterday, 06:49 AM   #6
dalacor
Member
 
Registered: Feb 2019
Distribution: Slackware
Posts: 74

Rep: Reputation: Disabled
Have you found using a minimal install of Slackware easy to maintain in terms of upgrades. I tried to setup a minimal Slack install this weekend and a: ran into the same problem you ran into - I was missing the libtirpc package and b: I discovered that even though my original install worked fine, I had to install new packages (pam, cracklib and
libpwquality) in order to login after upgrading existing Slackware packages.

But reading your post, I see that you have been running a minimal Slackware Current since 2011. I just wondered if you find regularly find issues with updating Slackware over the years where you have to install new packages using slackpkg install-new or you have to add missing existing packages such as libtirpc to get a Slackware upgrade to work when you reboot after running slackpkg upgrade-all
 
Old Yesterday, 03:24 PM   #7
Panther_
LQ Newbie
 
Registered: Jan 2012
Location: Podlasie [Pl]
Distribution: Slackware-current
Posts: 12

Original Poster
Rep: Reputation: Disabled
There are no major problems updating slackware. Regardless of whether you have the full version or a combination of selected packages.

I made the first installation of slackware from a cd attached to a Linux magazine. The process of installing and configuring the system was well described there. They have already installed the system for the first time without selected groups of packages. And that's how I stayed.

With the development of distribution, some packages are riddled, others are added to the system, others change names and contents. The changes are described in the ChangeLog.txt and CHANGES_AND_HINTS.TXT files. After freezing current in a stable version, the update is additionally described in UPGRADE.TXT

I don't use slackpkg. Maybe for the first time I will use the new system installation, and then manually remove the unnecessary packages ...
Unfortunately, I have to add new packages manually ...

My way to update:
- rsync to current (this is for updating current to my disk).
- find and upgradepkg to upgrade
 
Old Yesterday, 08:03 PM   #8
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,134

Rep: Reputation: 1365Reputation: 1365Reputation: 1365Reputation: 1365Reputation: 1365Reputation: 1365Reputation: 1365Reputation: 1365Reputation: 1365Reputation: 1365
easier way: slackpkg install-new
 
1 members found this post helpful.
Old Today, 04:10 AM   #9
dalacor
Member
 
Registered: Feb 2019
Distribution: Slackware
Posts: 74

Rep: Reputation: Disabled
I would highly recommend using slackpkg to update slackware and kernels. Far easier.

Thank you for your feedback. I will see how my minimal install fares. I guess I just chose a bad time trying this out as it co-incided with the arrival of PAM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
/etc/pam.d/system-auth-ac vs. /etc/pam.d/password-auth-ac vs. /etc/pam.d/sshd christr Red Hat 2 08-01-2014 07:08 PM
Help with PAM and PAM modules bourne Linux - Security 6 11-02-2008 11:48 PM
PAM module:passwd:- how many character validate by pam library amit_pansuria Linux - General 3 10-21-2008 01:19 AM
vsftpd + pam + virtual users - Pam cannot load database file. mdkelly069 Linux - Networking 3 09-22-2004 11:07 PM

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

All times are GMT -5. The time now is 06:52 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration