[NTLUG:Discuss] WHAT PAM FILES!!!

Bryan J. Smith b.j.smith at ieee.org
Thu Dec 16 18:48:30 CST 2004


I think the problem is that he has 0 PAM files to start with.
Before he was just adding 1, configuring VMWare to use traditional UNIX auth.
But now he wants to add Winbindd as a PAM option.
So he'll have to create _all_ applicable PAM files for _all_ sevices that need to authenticate against Winbindd.
(and do the services need to be rebuilt for PAM too?)

I could be totally wrong though.
But if he is looking to authenticate against a CIFS/ADS domain, that's what is required AFAIK.
I've had PAM distros as a crutch, so I may be totally off-the-mark.

-- 
Bryan J. Smith (currently mobile)
b.j.smith at ieee.org

-----Original Message-----
From:  Paul Ingendorf
Date:  04-12-16 16:31
To:  NTLUG Discussion List
Subj:  RE: [NTLUG:Discuss] WHAT PAM FILES!!!

What particular applications are you trying to configure pam for?  I will
make a difference as to what you will need in the pam.d config file.

What you have listed looks like it should work fine for most auths like
login, ssh, pop.

-----Original Message-----
From: discuss-bounces at ntlug.org [mailto:discuss-bounces at ntlug.org]On
Behalf Of ntlug at rain4us.net
Sent: Thursday, December 16, 2004 4:23 PM
To: discuss at ntlug.org
Subject: [NTLUG:Discuss] WHAT PAM FILES!!!


OK, so I'm having to load PAM on a Slackware server so that I can get
winbindd to provide me with Samba to Unix authentication.  FINE.  I can
submit to the evil PAM for this issue.

So now I have PAM compiled and installed, I've created my /etc/pam.d
directory and created the /etc/pamd.conf symlink to point to /etc/pam.d
GREAT.  Snow far, snow good.

Now the winbindd man page gives the following instructions...

----
In /etc/pam.d/* replace the auth lines with something like this:

auth       required     /lib/security/pam_securetty.so
auth       required     /lib/security/pam_nologin.so
auth       sufficient   /lib/security/pam_winbind.so
auth       required     /lib/security/pam_pwdb.so use_first_pass shadow
nullok
----

Great...I have no /etc/pam.d/* files!  I've googled for example pam files,
looked in my /usr/src/Linux-PAM-0.77 directory structure for sample pam
files..and either I'm blind as a bat or I don't know the proper
terminology to find the stinkin files.  make examples produces no output
either!What particular applications are you trying to setup pam for?

So...what term/terminology am I missing and what should my google search
terms be?  Oh and welcome to the wonderful world of PAM! :)

(I'm so close to solving all my problems today, it's painful!)

keywords: "example pam files" slackware "complete pam file" "/etc/pam.d
directory listing" "installing pam on slackware"

--
Richard


_______________________________________________
https://ntlug.org/mailman/listinfo/discuss


_______________________________________________
https://ntlug.org/mailman/listinfo/discuss



More information about the Discuss mailing list