LinuxQuestions.org
Review your favorite Linux distribution.
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-20-2020, 08:01 AM   #1
xa0c
LQ Newbie
 
Registered: Mar 2011
Distribution: slackware64
Posts: 12

Rep: Reputation: 0
Question Questions about PAM-free Slackware compilation


Hi folks,
I'm going to try to compile PAM-less Slackware current. I don't have any experience in distro-hacking though, so any help is welcome.

What steps are needed to accomplish that? From what I understand, the simplified process looks like this:
1) filter out all PAM-related changes in the `slackware64-current` dir, including changes in some compressed files. Fortunately alienbob created nice scripts which can decompress all that. I think Eric will not be against using them for such purpose.
2) recompile affected packages

Looks pretty simple to be true.
 
Old 05-20-2020, 09:51 AM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 915

Rep: Reputation: 710Reputation: 710Reputation: 710Reputation: 710Reputation: 710Reputation: 710Reputation: 710
Quote:
Originally Posted by xa0c View Post
Hi folks,
I'm going to try to compile PAM-less Slackware current. I don't have any experience in distro-hacking though, so any help is welcome.

What steps are needed to accomplish that? From what I understand, the simplified process looks like this:
1) filter out all PAM-related changes in the `slackware64-current` dir, including changes in some compressed files. Fortunately alienbob created nice scripts which can decompress all that. I think Eric will not be against using them for such purpose.
2) recompile affected packages

Looks pretty simple to be true.
Remove the pam package and rebuild all those that were labeled as having being rebuilt for PAM. The build scripts detect if PAM is installed and configure the package accordingly.
Then welcome to maintaining your own distribution. Good luck! ;-)
 
Old 05-20-2020, 10:56 AM   #3
xa0c
LQ Newbie
 
Registered: Mar 2011
Distribution: slackware64
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by drmozes View Post
Remove the pam package and rebuild all those that were labeled as having being rebuilt for PAM. The build scripts detect if PAM is installed and configure the package accordingly.
Then welcome to maintaining your own distribution. Good luck! ;-)
Thank you. I'll try this out on the next weekend. If no pitfalls will appear I'll think about the best way on how to share updated files.
 
Old 05-20-2020, 12:16 PM   #4
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 915

Rep: Reputation: 710Reputation: 710Reputation: 710Reputation: 710Reputation: 710Reputation: 710Reputation: 710
Quote:
Originally Posted by xa0c View Post
Thank you. I'll try this out on the next weekend. If no pitfalls will appear I'll think about the best way on how to share updated files.
Since you're taking the development version of the distribution, it's not just a case of sharing updated files. If people start using your stuff, they're going to expect you to be maintaining it and will want updates in sync with -current; otherwise their installation will become broken and it'll be upon you.

Do it for yourself by all means and see how it works out, but unless you're planning on maintaining this long term (as in years) and know what you're in for (since you had to ask, you don't), I wouldn't make anything available.
There's a lot involved in this - far more than it ever seems from the outside.
 
11 members found this post helpful.
  


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