dl@lx100:~$ service samba restart
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
需要通过认证才能重启“samba.service”。
Authenticating as: root
Password:
==== AUTHENTICATION COMPLETE ===
Failed to restart samba.service: Unit samba.service is masked.
dl@lx100:~$ sudo systemctl restart smbd.service