[Samba] How to control who can log into the samba box

Gordon Messmer yinyang at eburg.com
Wed Feb 22 00:25:12 GMT 2006


David Shapiro wrote:
> Do you have an example of the hide/veto option you used and sshd_config 
> mod you did to do this? 

In smb.conf, you can use:

veto files = /.ssh/

In sshd_config, you can set:

PasswordAuthentication no

Make sure you've put keys for your own account on the system, and are 
able to log in and su to root, before you make the latter change.


More information about the samba mailing list