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 11-16-2019, 08:39 AM   #61
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled

Do you guys really think any significant number of enterprise users will suddenly migrate to Slackware because pam/kereberos being added when they continue to use redhat, suse and ubuntu instead? Or better yet why would this be beneficial for Slackware?

Quote:
Originally Posted by dugan View Post
Certainly might be useful for some KDE users which I am not one, but honestly I would still consider a single KDE feature to be a niche thing.

Regardless this is not my decision, I'm just contributing to the discussion.
 
Old 11-16-2019, 10:15 AM   #62
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
I wouldn't expect a mass influx of user because of any change with regard to this, no.


Quote:
Originally Posted by orbea View Post
...why would this be beneficial for Slackware?
There's an argument for running the same code-paths that everyone else is, rather than taking the less travelled non-pam code-paths through applications which have likely been neglected for a number of years now.
 
7 members found this post helpful.
Old 11-16-2019, 12:18 PM   #63
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by orbea View Post
Do you guys really think any significant number of enterprise users will suddenly migrate to Slackware because pam/kereberos being added when they continue to use redhat, suse and ubuntu instead?
We've certainly been told of enterprise users who didn't choose Slackware when they could have done so due to its inability to integrate with Active Directory.
 
8 members found this post helpful.
Old 11-16-2019, 02:09 PM   #64
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857
Quote:
Originally Posted by orbea View Post
Do you guys really think any significant number of enterprise users will suddenly migrate to Slackware because pam/kereberos being added when they continue to use redhat, suse and ubuntu instead? Or better yet why would this be beneficial for Slackware?

Certainly might be useful for some KDE users which I am not one, but honestly I would still consider a single KDE feature to be a niche thing.

Regardless this is not my decision, I'm just contributing to the discussion.
Quote:
Originally Posted by Richard Cranium View Post
We've certainly been told of enterprise users who didn't choose Slackware when they could have done so due to its inability to integrate with Active Directory.
Actually this is a good possibility; with the addition of Pam & Kerberos combined with a sane/stable init, Slackware becomes a compelling argument for the business world.
 
3 members found this post helpful.
Old 11-16-2019, 04:55 PM   #65
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Quote:
Do you guys really think any significant number of enterprise users will suddenly migrate to Slackware because pam/kereberos being added when they continue to use redhat, suse and ubuntu instead?
Even if Slackware was not embraced by enterprise admins, many Slackers want to use Slackware at their jobs. PAM makes this easier.
 
10 members found this post helpful.
Old 11-16-2019, 07:32 PM   #66
ttk
Senior Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 1,038
Blog Entries: 27

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
I've flip-flopped a few times on wanting PAM/Krb5 in Slackware. Certainly it would mean one fewer obstacle to acceptance in the enterprise, which is important to me personally. The argument that PAM-using code paths are better-tested by the community at large is also compelling to me, and Slackware is all about safety and stability, IMO.

On the other hand, I totally get the wariness at putting additional complexity in our packages, especially if it's complexity for features one will never use. Complexity increases risk of failure and adds overhead to troubleshooting, but in the case of PAM/Krb5 I expect these effects to be more than offset by the increased testing.

As for reverting PAM out of Slackware packages, I don't think that would be too hard. Given a list of relevant packages, rebuilding them using the pre-PAM Slackbuilds should be straightforward, at least until the distribution drifts too far for those Slackbuilds to run trouble-free. Then they would need to be maintained.

Personally I look forward to PAM coming to Slackware. It's one more task off the list of "enterprisey" features -- http://ciar.org/ttk/public/enterprise-slackware.html
 
11 members found this post helpful.
Old 11-17-2019, 09:22 AM   #67
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by upnort View Post
Even if Slackware was not embraced by enterprise admins, many Slackers want to use Slackware at their jobs. PAM makes this easier.
Or just to connect from HOME to their employers servers.

Last edited by ehartman; 11-23-2019 at 10:11 PM. Reason: correct typing error
 
5 members found this post helpful.
Old 11-18-2019, 04:20 PM   #68
mishehu
Member
 
Registered: Aug 2014
Location: USA
Distribution: Slackware (where ::1 is), Centos, Debian
Posts: 106

Rep: Reputation: 158Reputation: 158
Perhaps I'm late to the party here, but having worked with vbatt's PAM stuff in the past, I can vouch that PAM need not be intrusive or difficult. I am HIGHLY confident that if volkerdi does decide to include PAM (of which I am a proponent), that he will be able to craft defaults that even the most orbea's among us will not feel a negative impact beyond "I see this extra library here".

I do like how our BDFL and much of our community is skeptical about change for just the sake of change, and I think it speaks volumes that we have resisted PAM this far. But most of those early concerns about PAM have indeed been resolved.

And while inclusion of PAM may not in of itself open up the flood gates of inclusion into the enterprise space, the lack of PAM is most likely that which continues to guarantee it isn't included in the enterprise space.

If Pat does decide to include and needs some help with testing it, I can offer my time to set up a few vm's and a krb5 test domain to try to test it out.

If Pat instead decides to not include, I hope that 15.0 will be on the horizon as I'd like to be able to revisit vbatt's notes/scripts so I won't have to constantly track -current's changes.
 
8 members found this post helpful.
Old 11-23-2019, 04:59 AM   #69
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495

Rep: Reputation: 144Reputation: 144
Just a technical thought, apart from having to recompile lots of packages that would be linked to PAM, how would PAM be updated?
Say a new version is needed to fix bugs/security issues, you can't just remove it and install a newer version, because when as part of upgradepkg the old binaries are removed, permissions to continue installing anything will be lost, because the PAM binary/library called by rm, cp or anything else that checks permissions to write files/directories will be missing; or am I not understanding PAM correctly?

If PAM is configured to just use /etc/shadow and /etc/passwd then the change should be unnoticeable, but if anyone changes that config, they will be on their own, as debugging PAM permissions related issues may be beyond many. Microsoft's insistence on limiting domain/ad stuff to pro or server versions of windows means I am not likely to use those extra features myself.
I do hope we will still be able to run X as root. I don't like the "root police" telling me I can't do stuff on my own systems because I might do something bad and mess them up. :-)
 
Old 11-23-2019, 09:25 AM   #70
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Quote:
Originally Posted by GazL View Post
There's an argument for running the same code-paths that everyone else is, rather than taking the less travelled non-pam code-paths through applications which have likely been neglected for a number of years now.
When's the last time you had a software issue because you were using a bitrotten code path without pam? I haven't run into that at all.

Quote:
Originally Posted by Richard Cranium View Post
We've certainly been told of enterprise users who didn't choose Slackware when they could have done so due to its inability to integrate with Active Directory.
I can count those people on one hand, don't mistake being loud with being popular.
 
Old 11-23-2019, 09:47 AM   #71
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,022

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by orbea View Post
I can count those people on one hand, don't mistake being loud with being popular.
Believe or not, that's exactly why I do not believe myself in the words of those few ultras who are very vocal in this forum against PAM or whatever.

I am not a pro-PAM or anti-PAM, but, probably as many others, I see its addition also as an opportunity for Mr. Volkerding to gain some traction from the business world.

And is obvious that even a small company can cover well the financial loss resulting from that mythical "mass exodus" of those few ultras hanging on this forum...

Last edited by ZhaoLin1457; 11-23-2019 at 10:29 AM.
 
5 members found this post helpful.
Old 11-23-2019, 12:16 PM   #72
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Quote:
I do hope we will still be able to run X as root.
I struggle to envision Pat going down that kind of road. I don't ever recall Pat being in the business of telling or forcing people how to use their computer.
 
Old 11-23-2019, 12:22 PM   #73
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,781

Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
Quote:
Originally Posted by timsoft View Post
Say a new version is needed to fix bugs/security issues, you can't just remove it and install a newer version, because when as part of upgradepkg the old binaries are removed, permissions to continue installing anything will be lost, because the PAM binary/library called by rm, cp or anything else that checks permissions to write files/directories will be missing; or am I not understanding PAM correctly?
There are some misunderstandings here.

rm, cp etc do not check permissions to write files/directories, the kernel does that, and it does not use PAM for that.

For example, sshd or xdm would use PAM to authenticate. Could a new incoming ssh connection not succeed if tried at the same time as upgradepkg pam? No problem: upgradepkg does everything in the right order, so it does not first remove the old libpam.so and only then create a new one.

Even after upgrading libraries, old running processes keep using the old library and the file is really deleted from the disk only after the last process keeping it open is killed. So, a '/etc/rc.d/rc.sshd restart' could be a good idea if it were a security patch of libpam.

Last edited by Petri Kaukasoina; 11-23-2019 at 12:24 PM.
 
6 members found this post helpful.
Old 11-23-2019, 02:43 PM   #74
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 orbea View Post
When's the last time you had a software issue because you were using a bitrotten code path without pam? I haven't run into that at all.
Let me give a reverse example then. As a software packager, I have run into issues on several occasions when new software releases (often related to KDE4 or Plasma5 desktop) had no provision for running or even compiling without PAM, and discussions with the developers were needed to rectify the omission. Luckily the KDE developers are willing to support anyone who comes knocking, and as a result Plasma5 is a desktop which runs great on Slackware without any shortcuts.

PAM dependencies should - and can - be made optional, but not all software developers are open-minded enough to accept that and are willing to spend the time to write code to support a minority of users.
 
15 members found this post helpful.
Old 11-23-2019, 05:33 PM   #75
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
Quote:
Originally Posted by orbea View Post
When's the last time you had a software issue because you were using a bitrotten code path without pam? I haven't run into that at all.
I have a vague recollection of an issue with 'su' a few years back that only affected non-pam installs. Can't remember the details now but it had something to do with tty handling.
 
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
SSH + PAM + Kerberos questions Akegata Linux - Security 9 06-13-2009 10:50 AM
PAM with Kerberos xKintaro Linux - Networking 6 05-30-2009 12:20 AM
Howto Kerberos+PAM login? licht Linux - Security 0 07-24-2007 05:29 PM
PAM/Kerberos authentication problem hmartin216 Linux - Security 2 03-11-2005 09:28 PM
Kerberos and PAM jimrt Linux - General 2 09-26-2003 06:50 PM

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

All times are GMT -5. The time now is 02:23 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