Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'AllowGroups' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Authored by: extra88 on Oct 09, '03 01:29:04PM
There's also an AllowGroups option. If you add
AllowGroups admin
and restart ssd then only users who are admins can login through ssh.

I believe /etc/group is not used so if you wanted to create your own group in which authorized users would be listed, it would have to be in NetInfo. That would probably be preferable because once you have the AllowGroups line in sshd_config, it doesn't require restarting any process to add or remove access for a user.

The sshd_config man page is a useful read. Note that this link is for whatever the current version of OpenSSH is and may not exactly match the capabilities found in OS X.

[ Reply to This | # ]