AllowGroups

From: David Magda (dmagda+usenet@ee.ryerson.ca)
Date: 04/12/02


From: David Magda <dmagda+usenet@ee.ryerson.ca>
Date: 12 Apr 2002 15:57:34 -0400


Hello,

I'm using OpenSSH 3.1p1 and would like to only allow users in one
group to log onto a particular host. I've added "AllowGroups linux"
to the /etc/ssh/sshd_config file but it doesn't seem to work:

ruby:~> ssh david@mercury
david@mercury's password:
Authentication successful.
Last login: Fri Apr 12 14:18:31 2002 from ruby
Linux 2.4.18.
mercury:/home/student1/david> groups
student
mercury:/home/student1/david>

Do I have to do anything with "DenyGroups"

I'm using Slackware 8.0 with OpenSSH 3.1p1 custom
compiled. Authentication is through NIS/YP if that would make a
difference.

Thanks for any info.

-- 
David Magda <dmagda at ee.ryerson.ca>
Because the innovator has for enemies all those who have done well under
the old conditions, and lukewarm defenders in those who may do well 
under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI