LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-16-2020, 05:13 AM   #31
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106

Quote:
Originally Posted by itsgregman View Post
Wow I never knew Darth created Blue/White64. I ran that for around a year and a half before Slackware proper released a 64 bit version.
It was not Darth Vader who created BlueWhite64. The person who created BlueWhite64 is a Romanian called Attila Craciun (arny is his online moniker).
 
7 members found this post helpful.
Old 05-16-2020, 05:16 AM   #32
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by garpu View Post
So what's going to be needed on the user's end when the change happens? life as usual? Anything to keep in mind so we're not locked out after the first reboot? Or is PAM not that way anymore?
Everything will keep working as you are used. You will not have to change, modify or update any configuration.
I have been running a PAM-ified Slackware with PAM-ified Plasma5 on top of it, since it became available and have had zero issues.
That includes all the 3rd party tools I also install and use on this laptop.
 
5 members found this post helpful.
Old 05-16-2020, 05:30 AM   #33
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,971

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
No worries. I've been using PAM since it was introduced in testing, along with the PAM-ified ktown on my desktop and laptop I use for work with zero issues.
 
2 members found this post helpful.
Old 05-16-2020, 05:38 AM   #34
arcadellama
LQ Newbie
 
Registered: Feb 2020
Location: Texas
Distribution: Slackware
Posts: 23

Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
When offered a new toy, the best we can do is learn how to play with it. This could be a good start.
Likely the most helpful post on thread so far. By quick reads of it, it appears to be a relatively simple and well thought out abstraction layer for authentication. I’m not sure the exact use case for needing it — perhaps eliminates the pesky ‘key ring’ business some newer programs want to need.

At any rate, from the documentation, there is this:

Code:
 On a less sensitive computer, one on which the system administrator wishes to remain ignorant of much of the power of Linux-PAM, the following selection of lines (in /etc/pam.d/other) is likely to mimic the historically familiar Linux setup.

#
# default; standard UN*X access
#
auth     required       pam_unix.so
account  required       pam_unix.so
password required       pam_unix.so
session  required       pam_unix.so
       
In general this will provide a starting place for most applications.
I’m not worried. Slackware has never been known for changing just for the sake of changing, or because some engineer at RedHat thinks it’s a good idea.
 
1 members found this post helpful.
Old 05-16-2020, 07:43 AM   #35
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,537

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Originally Posted by GazL View Post
Yeah, I doubt anyone will have any problems, I was just sharing an old sysadmin's life lesson, i.e. whenever you change anything related to login, ensure you can still login, before you logout.

There are some slight differences I noticed, but I doubt most people will spot them, or care.
Good to know that everything seems to be life as usual... I tend to prepare for the worst, and be pleasantly surprised, nay, shocked, when things work the first time. But I did start using linux in '99...
 
3 members found this post helpful.
Old 05-16-2020, 01:01 PM   #36
Poprocks
Member
 
Registered: Sep 2003
Location: Toronto, Canada
Distribution: Slackware
Posts: 522

Rep: Reputation: 279Reputation: 279Reputation: 279
I'm not against PAM at all - I used Red Hat based systems for years and just assumed it was a standard component of all GNU/Linux systems until I tried Slackware and learned it was not.

One thing I'm curious about is, what actually NEEDS it versus can just use it's extra plugin-based security functionality on an optional basis?

I'm guessing Kerberos, which in turn is a dependency of so many things.

I'm aware of some software that requires some component of systemd or a drop in replacement thereof, but with PAM I'm less aware of such things. I don't think it's the case that we've had to patch much software to coax it into building without PAM.

I'm the maintainer of the Weston package on SBO (reference implementation of a Wayland compositor) and I've had to patch it to remove PAM as a hard dependency to get it to work. I've had to manually maintain the patch as versions change since the codebase has changed significantly enough, which has been a royal pain. I would hate to have to do that with multiple packages...
 
Old 05-16-2020, 01:49 PM   #37
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 607

Rep: Reputation: 349Reputation: 349Reputation: 349Reputation: 349
I'm a little upset about Dovecot for this:
https://dovecot.org/pipermail/doveco...ch/000436.html
Quote:
Authentication drivers: ..., shadow, ...
In this case the alternative is PAM.
 
4 members found this post helpful.
Old 05-16-2020, 02:00 PM   #38
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Quote:
One thing I'm curious about is, what actually NEEDS it versus can just use it's extra plugin-based security functionality on an optional basis?
The PAM topic has been discussed here several times and in depth. In short, PAM provides Slackware better authentication integration in enterprise environments. PAM is status quo in almost all distros these days.
 
3 members found this post helpful.
Old 05-16-2020, 03:20 PM   #39
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
Quote:
Originally Posted by upnort View Post
The PAM topic has been discussed here several times and in depth. In short, PAM provides Slackware better authentication integration in enterprise environments. PAM is status quo in almost all distros these days.
systemd is also "status quo" in almost all distros.
And I think it's obvious to all present that it's a very rare enterprise environment
that includes Slackware _anywhere_.
 
1 members found this post helpful.
Old 05-16-2020, 03:33 PM   #40
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Quote:
And I think it's obvious to all present that it's a very rare enterprise environment that includes Slackware _anywhere_
Possibly. Is including PAM a positive step toward opening such doors?
 
3 members found this post helpful.
Old 05-16-2020, 07:42 PM   #41
gus3
Member
 
Registered: Jun 2014
Distribution: Slackware
Posts: 490

Rep: Reputation: Disabled
Quote:
Originally Posted by arcadellama View Post
I’m not sure the exact use case for needing it — perhaps eliminates the pesky ‘key ring’ business some newer programs want to need.
Not just "newer programs". Personal history: I used to work for a company that developed transparent file encryption, as in "decrypt on read, encrypt on write". It worked on individual files, in-place, not filesystems or entire disks. The PAM mechanism was a way to open a user's keybox using the password at login. If the keybox password matched the user's login password, the keys were immediately loaded onto the user's keyring, even before the shell launched. No match simply meant no automatic keybox load; a user could open it manually instead, with a different password.

This was a real and working product in 2004, with products for Red Hat, SuSE, Solaris, AIX, and HP-UX, and was completely independent of any filesystems.

ext4, F2FS, and ubifs now support similar key-based, transparent file encryption/decryption, but it isn't nearly as convenient as the system we had.
 
1 members found this post helpful.
Old 05-17-2020, 12:03 AM   #42
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,066

Rep: Reputation: 147Reputation: 147
Glad to see it mostly sounds like things will remain as-is (except Dovecot, which I read the post and if it means what I think, I feel extremely disappointed about)... if not the case, I hope PAM is going to be optional (like PulseAudio)... but as I use Dovecot, not sure I have any other choice other than trying something more primitive, less-supported/-documented, and harder to configure, and which may not do as much and may be harder to keep updated/configured, may also be less secure... allowing more security is great, but removing the standard Unix way of doing things isn't (as Dovecot may be doing...?)

Last edited by dchmelik; 05-24-2020 at 03:11 AM.
 
2 members found this post helpful.
Old 05-18-2020, 03:21 PM   #43
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
It's official, and it should go unnoticed by the vast majority of users. Make sure you slackpkg install-new or manually install pam, cracklib, and libpwquality.

Code:
Mon May 18 19:17:21 UTC 2020
Greetings! After three months in /testing, the PAM merge into the main tree
is now complete. When updating, be sure to install the new pam, cracklib, and
libpwquality packages or you may find yourself locked out of your machine.
Otherwise, these changes should be completely transparent and you shouldn't
notice any obvious operational differences. Be careful if you make any changes
in /etc/pam.d/ - leaving an extra console logged in while testing PAM config
changes is a recommended standard procedure. Thanks again to Robby Workman,
Vincent Batts, Phantom X, and ivandi for help implementing this. It's not
done yet and there will be more fine-tuning of the config files, but now we
can move on to build some other updates. Enjoy!
 
8 members found this post helpful.
Old 05-18-2020, 03:58 PM   #44
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,220

Original Poster
Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Quote:
Originally Posted by bassmadrigal View Post
It's official, and it should go unnoticed by the vast majority of users. Make sure you slackpkg install-new or manually install pam, cracklib, and libpwquality.
Thanks for the heads up.

So what's the story with ktown if we're running the non-testing packages, wait for updates, or just switch straight over to the testing packages?
 
Old 05-18-2020, 03:58 PM   #45
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Quote:
Greetings! After three months in /testing, the PAM merge into the main tree is now complete.
The announcement is just too resisting.

Good job Pat!
 
1 members found this post helpful.
  


Reply



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
a bug in dialog merged with Slackware64 current? duturo1953 Slackware 1 08-23-2017 02:26 PM
/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
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 12:54 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