Darren Tucker wrote:
Ron Wheeler wrote:
I would like to allow ssh access from
1) anyone on the 192.168.1.0/24 network
or
2) anyone on a list of users.
An alternative to using pam_listfile (assuming you're using OpenSSH):
Put your chosen few users into a group, say, "sshusers" then put the
following in sshd_config:
AllowGroups sshusers
AllowUsers [EMAIL PROTECTED]
Very slick and a lot less trouble.
I went down to my local library and borrowed a book on C programming on
Linux just in case I had to write a PAM module.
This is going to be a lot easier to implement and maintain.
Thanks
Ron