📅  最后修改于: 2022-03-11 14:51:09.781000             🧑  作者: Mango
#Change Password
sudo smbpasswd -a username
#SMB Version
smb --version
#SMB Staus
smbstatus
#Restart SMB
sudo service smbd restart
#Test SMB connection
sudo nmap --script smb-protocols ip
#Configuratoin File
sudo nano /etc/samba/smb.conf