Ron Wheeler wrote:
> I would like to allow ssh access from
> 1) anyone on the 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 *@192.168.1.*

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.