ubuntu关闭局域网共享目录print$
1. 修改配置文件
sudo gedit /etc/samba/smb.conf
2. 将browseable置为no
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = no
read only = yes
guest ok = no
3. 重启smbd服务
sudo service smbd restart
局域网中就看不见print$这项了。
近期评论