📜  smb 命令 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:09.781000             🧑  作者: Mango

代码示例1
#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