Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2005 14:36:38 +0000
From:      James O'Gorman <jamesog@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   How to use pam_group?
Message-ID:  <59a5010d0511130636ld1f3ee9r@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

[Please keep me CC:d as I'm not subscribed]

I've been trying to use pam_group.so to limit who can login to various
services such as FTP and IMAP, but I can't seem to get it working.

For example, I took the stock /etc/pam.d/ftp and added:

auth=09requisite=09pam_group.so=09group=3Dftpusers fail_safe

after the auth pam_unix.so line, but with this line in there, no-one
can login to FTP, not even users in ftpusers, but if I comment out
that line, obviously everyone can login.

I've tried required/requisite but neither work.

Can anyone see what I might be doing wrong?

This is on 6.0-RELEASE.

Thanks,

James



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59a5010d0511130636ld1f3ee9r>