Ubuntu系统更改计算机描述
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
sudo gedit /etc/samba/smb.conf
搜寻这一行文字
...
server string = %h server (Samba, ">Ubuntu)
...
用下面这一行取代
server string = new_computer_descriptions
保存编辑过的文件
sudo testparm
sudo /etc/init.d/samba restart
时间: 2024-10-26 00:46:28