[Samba] How to control who can log into the samba box
Josh Kelley
joshkel at gmail.com
Tue Feb 21 18:30:56 GMT 2006
On 2/20/06, David Shapiro <David.Shapiro at bcbsnc.com> wrote:
> I have samba set up using winbind so that I can ssh into the box with
> my DOMAIN\mylogin. That's great...kind of. How do I control which
> users can login to the box? As it stands now, all users in DOMAIN can
> log in, which is not desireable. Do I need to map domain groups to unix
> groups? Do I need to map domain users to the box some how? Even if I do
> that, how do I then set it up so some users can log into the server and
> others cannot?
You should be able to use sshd_config's AllowUsers, DenyUsers,
AllowGroups, and DenyGroups to do this.
Josh Kelley
More information about the samba
mailing list