Monday, August 31, 2009

linux指令

紀錄一下指令跟設定
1. nbtstat –A <IP> 從Ip找回netbios的名稱

2. vsftp要用/etc/hosts.allow, /etc/hosts.deny兩個檔案來控制登入Ip的話,要在vsftpd.conf中設定tcp_wrappers=YES
3. samba要控管IP登入的話,可以在/etc/samba/smb.conf中設定’hosts deny= IP, IP,IP….’

No comments:

Post a Comment