[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pam-list
Subject:    Re: group information?
From:       "Andrew G. Morgan" <morgan () parc ! power ! net>
Date:       1997-02-19 23:38:33
[Download RAW message or body]

Ingo Luetkebohle wrote:
> On Wed, 19 Feb 1997, Andrew G. Morgan wrote:
> > What are you trying to do?
> 
> I've got a list of groups that are allowed access and I want to check if
> the user is in one of them, regardless of wether the information which
> groups the user belongs to is stored via NIS, /etc/group or something
> else. 

If this is what you want, I think the answer lies in the clumsy getgr...()
or the newer pwdb library functions. All you need is in SimplePAMApps...

Cheers

Andrew
-- 
               Linux-PAM, libpwdb, Orange-Linux and Linux-GSS
                  http://parc.power.net/morgan/index.html
       [ For those that prefer FTP  ---  ftp://ftp.lalug.org/morgan ]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic