On 10/27/06, Simon Geard <[EMAIL PROTECTED]> wrote:
Hi all...

Since the future of HAL seems to involve the PolicyKit module, I'm
attempting to install it for HAL 0.5.8.1. Among other things, it
installs a new PAM configuration, which basically amounts to:

# /etc/pam.d/policy-kit
auth       include      system-auth
account    include      system-auth
password   include      system-auth
session    include      system-auth

I understand that this is attempting to bring in configuration info from
another file (probably RedHat-specific), but I don't understand PAM well
enough to rewrite it for LFS. Can anyone who does (or who has already
experimented with PolicyKit) advise on this?

system-auth is just a grouping of policies. I can't remember if I
copied this directly from Fedora or Paldo.

$ cat /etc/pam.d/system-auth
#%PAM-1.0
auth            required        pam_env.so
auth            sufficient      pam_unix.so     likeauth nullok
auth            required        pam_deny.so

account         required        pam_unix.so

password        sufficient      pam_unix.so     nullok md5 shadow
password        required        pam_deny.so

session         required        pam_limits.so
session         required        pam_unix.so

You could customize that however you want, obviously. Basically, this
is just RedHat's standard "this user is authenticated" stack.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to