Does anyone know of a good way to have sshd check an arbitrary textfile full of usernames to determine whether or not to allow a login attempt? I'm running RedHat Linux 5.2. The `AllowUsers' configuration option which is already part of SSH doesn't seem to take a textfile as an argument, so that won't work. I need to selectively allow user access to sshd based on the file /etc/sshd_users. For example, if user "foo" is listed in /etc/sshd_users, he should be able to log into my server through sshd (after typing in his password and stuff). However, the ssh login attept for "bar" would be denied and closed before he had a chance to authenticate since he wasn't listed in /etc/sshd_users. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
