service tomcat stop ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units === 需要通过认证才能停止“tomcat.service”。 Authenticating as: www,,, (www)
解决办法:
sudo tomcat stop/start
方法来自Thread: Starting, Stopping, Restarting Services result in authentication from org.freedeskto
Well, I also was running tcpdump when I did the stuff for my reply, and there was no external communication.
These commands are fairly fundamental, so I don't think you can disable them, nor should you. Just always use sudo so that the command itself is always run as root.
本博客文章绝大多数为原创,少量为转载,代码经过测试验证,如果有疑问直接留言或者私信我。
创作文章不容易,转载文章必须注明文章出处;如果这篇文章对您有帮助,点击右侧打赏,支持一下吧。
创作文章不容易,转载文章必须注明文章出处;如果这篇文章对您有帮助,点击右侧打赏,支持一下吧。
浙公网安备 33010602011771号