[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: user access list



> 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

_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

Add to Google Powered by Linux