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 02-11-2006, 04:11 PM   #1
eric.r.turner
Member
 
Registered: Aug 2003
Location: Planet Earth
Distribution: Linux Mint Debian Edition (LMDE)
Posts: 215

Rep: Reputation: 31
PAM Available For Slackware 10.0


I created a set of packages that add PAM support to Slackware 10.0 . In this first release only login, su, passwd, useradd, and proftpd use PAM, and it's configured to use your existing unix password mechanism.

Future releases will include more PAM-aware applications, will work on more recent versions of Slackware, and will have other configuration choices (e.g. authenticate to a Windows NT domain controller or ActiveDirectory server).

Looking for people to try it out. Let me know what you think, or if you run into any problems.

http://www.leapingmind.com/projects.html

Last edited by eric.r.turner; 02-11-2006 at 04:13 PM.
 
Old 02-11-2006, 05:31 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
First of all I think you should a) publish your build-script(s)
and b) split the package into the modified 4 modules you're using.

Also, Slack 10 has quite clearly come of age, 10.2 has been out
for ages, and 11 is on the horizon (looking at the big steps in
the changelogs for current).

I've only just PAMified my slack-box last week ;}


Cheers,
Tink
 
Old 02-11-2006, 05:35 PM   #3
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Rep: Reputation: 46
is slack 11 mooted to include pam support? It would be useful...
 
Old 02-11-2006, 06:03 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
No, no mention of that in the logs... but it's not THAT hard to do,
just to begin with. All it takes is to grab the Linux-PAM from
kernel.org, compile and install it (--exec-prefix=/usr) and compile
both util-linux and shadow against it (use Pat's build-scripts and
modify them accordingly).

Do the same for all other apps you need to be PAM aware. If there's
enough interest I can put a "How-to" in the Linux-answers section ;}


Cheers,
Tink
 
Old 02-11-2006, 06:10 PM   #5
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Rep: Reputation: 46
that would be cool! i'm sure lots of users would find that useful.

sigh, i feel like leaving slackware these days. No PAM? I really don't have the time to compile a load of stuff. nor should i have to for something that one would expect in any modern linux/unix.

not your fault tho. not getting at you. just really dissapointed with 10.2 and things getting worse. IMHO. maybe i am just expecting the wrong things. i understand the slack philosophy, but there is a limit. used to love my slack :-(
 
Old 02-11-2006, 06:17 PM   #6
eric.r.turner
Member
 
Registered: Aug 2003
Location: Planet Earth
Distribution: Linux Mint Debian Edition (LMDE)
Posts: 215

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Tinkster
...split the package into the modified 4 modules you're using.
What do you mean by this? Right now I'm delivering 9 individual packages: Linux-PAM, gnutls, libgcrypt, libgpg-error, libprelude, pam-config-unix, proftpd, shadow, and util-linux.

Quote:
Originally Posted by Tinkster
Also, Slack 10 has quite clearly come of age, 10.2 has been out
for ages, and 11 is on the horizon (looking at the big steps in
the changelogs for current).
Yeah, but I had a Slackware 10.0 box just sitting here ready to go. ;-) I have a gazillion things I want to do with this that are more important than upgrading Slackware. I'll get to it eventually, probably about the time that Patrick has a change of heart about PAM and decides to include it in Slackware.

Quote:
Originally Posted by Tinkster
I've only just PAMified my slack-box last week ;}
Really? What apps did you PAMify? Have you set up other authentication modules? Did you put these together as slack packages so they're easy to install?
 
Old 02-11-2006, 06:24 PM   #7
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
PAM in SLACKWARE!!!!

BLASPHEMY!!! It shall rain frogs and blood from the sky, sticks that are just lying around on the ground will be turning into snakes at will. Dogs and Cats living together, MASS HYSTERIA!

FYI, Dropline GNOME already has PAM installed and have a VERY easy build system where you can "PAMify" pert near any app you want.

Later,
MMYoung
 
Old 02-11-2006, 08:09 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Quote:
Originally Posted by eric.r.turner
What do you mean by this? Right now I'm delivering 9 individual packages: Linux-PAM, gnutls, libgcrypt, libgpg-error, libprelude, pam-config-unix, proftpd, shadow, and util-linux.
Doesn't say that on the site, neither does the link to a single download-package
suggest that it contains other tarballs. I didn't download it to check it since I
don't have any machines running on 10 any more.


Quote:
Originally Posted by eric.r.turner
Really? What apps did you PAMify?
So far only PostgreSQL, and the shadow and util-linux packages.
Am looking at using it with LDAP for centralised authentication.

Quote:
Originally Posted by eric.r.turner
Have you set up other authentication modules?
Nope - no need atm.

Quote:
Originally Posted by eric.r.turner
Did you put these together as slack packages so they're easy to install?
But of course. Is that a trick question?
;}


Cheers,
Tink
 
Old 02-11-2006, 08:13 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Quote:
Originally Posted by MMYoung
PAM in SLACKWARE!!!!

BLASPHEMY!!! It shall rain frogs and blood from the sky, sticks that are just lying around on the ground will be turning into snakes at will. Dogs and Cats living together, MASS HYSTERIA! :D
Heh - let's hope Pat doesn't visit much ;}

Quote:
Originally Posted by MMYoung
FYI, Dropline GNOME already has PAM installed and have a VERY easy build system where you can "PAMify" pert near any app you want.
Well, yeah. But I'd rather have haemorrhoids and zits than
Gnome on my machines... :}


Cheers,
Tink
 
Old 02-11-2006, 08:53 PM   #10
eric.r.turner
Member
 
Registered: Aug 2003
Location: Planet Earth
Distribution: Linux Mint Debian Edition (LMDE)
Posts: 215

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Tinkster
Doesn't say that on the site, neither does the link to a single download-package
suggest that it contains other tarballs.
All good points. I've added some wording about what to expect, how to install it, and a link to the source including my build scripts.

Thanks for the input.
 
Old 02-11-2006, 11:10 PM   #11
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally Posted by Tinkster
Well, yeah. But I'd rather have haemorrhoids and zits than
Gnome on my machines... :}
To each his own I reckon.

Later,
MMYoung
 
Old 02-12-2006, 02:37 AM   #12
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 66
Quote:
Originally Posted by Tinkster
Well, yeah. But I'd rather have haemorrhoids and zits than
Gnome on my machines... :}
Actually, I think I'd rather have Gnome on my machine than running in it....

My two cents....
 
Old 02-12-2006, 08:08 AM   #13
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 34
Quote:
Am looking at using it with LDAP for centralised authentication.
Just a thought (I have no experience with touching PAM or LDAP), but from the alt.os.linux.slackware FAQ, couldn't you use nss_ldap to authenticate instead of trying to add PAM into Slackware?
 
Old 02-12-2006, 12:02 PM   #14
zborgerd
Member
 
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
Dropline's PAM components may be used without GNOME itself.

Please see the following thread for more info:
http://dropline-gnome.sourceforge.ne...ic.php?p=28934

Package links are provided. Build scripts are included in the packages, but you may also find them here:

https://sourceforge.net/project/show...ease_id=377327

Along with instructions on how to use our custom build engine:
http://dlgwiki.dot42.org/index.php/Build_Engine

There are some features that we do not provide by default though (pam_ldap, for instance), for security reasons and to keep things relatively simple.

Last edited by zborgerd; 02-12-2006 at 12:11 PM.
 
Old 09-22-2006, 01:08 PM   #15
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, Portugal
Distribution: Slackware
Posts: 273

Rep: Reputation: 74
Quote:
Originally Posted by Tinkster
I'd rather have haemorrhoids and zits than
Gnome on my machines... :}
I totaly agree

Quote:
Originally Posted by Tinkster
If there's
enough interest I can put a "How-to" in the Linux-answers section ;}
I would be very interested in this.

I'm trying to build a Slax (live-cd based on Slackware-current) OpenLDAP/PAM authentication gateway.
My goal is have a system (Slax-Server) where I can create some user account that can be used in all the clients that the user decides to login in.

ATM I just sync the server's /etc/passwd, /etc/shadow, /etc/group and /etc/gshadow files with the clients'
This kinda sucks, but it's a start.

I'm a complete noob in linux, but willing to learn

I just found out that Slackware does not support PAM... Why not? Is there a better way to do this?
 
  


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
PAM and Slackware 10.2 darkarcon2015 Slackware 15 10-20-2007 03:32 PM
pam radius auth in slackware ?? Barx Slackware 1 04-30-2005 09:06 AM
does slackware 10 support PAM? joroxx Slackware - Installation 2 11-16-2004 01:06 AM
pam mount in slackware 10 qwijibow Linux - Software 1 08-06-2004 09:37 AM
Slackware, Samba, Winbind & PAM; Oh My! BulletSponge Slackware 3 06-20-2003 06:01 PM


All times are GMT -5. The time now is 05:00 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration