user access list

Barry Brimer lists at brimer.org
Thu Sep 14 16:46:03 UTC 2006


> I need to be able to limit ssh access to a server to a list of users.
> A non-root (non-admin) user needs to be able to modify this list.
> I have done this using "pam_listfile.so".
> But, I also need users in an "admin" group and the "root" ID to be able to
> ssh to the server.

You can use a second pam_listfile statement with a second file.  The
pam_listfile statement that you are probably using now contains "item=user". 
In the pam_listfile for the group, you can change that to "item=group".

HTH,
Barry




More information about the Pam-list mailing list