[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: group information?



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 ]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []