Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 13 years ago.
您可以将 sudo 配置为无需密码即可使用,如下所述:
http: //www.linuxscrew.com/2008/06/22/configure-sudo-nopasswd/
确保让 sudo 只运行特定命令而无需密码,而不是全部。
You can configure sudo to be usable with no password as described here:
http://www.linuxscrew.com/2008/06/22/configure-sudo-nopasswd/
Be sure to let sudo only run specific commands without password, not all.
您可以使用系统初始化脚本(Debian 上的 ln -s /etc/init.d/lighttpd /etc/rc2.d/S99lighttpd)或使用 crontab 条目用于 @reboot
ln -s /etc/init.d/lighttpd /etc/rc2.d/S99lighttpd
@reboot
You could avoid that with a system init script (ln -s /etc/init.d/lighttpd /etc/rc2.d/S99lighttpd on Debian) or with a crontab entry for @reboot
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(2)
您可以将 sudo 配置为无需密码即可使用,如下所述:
http: //www.linuxscrew.com/2008/06/22/configure-sudo-nopasswd/
确保让 sudo 只运行特定命令而无需密码,而不是全部。
You can configure sudo to be usable with no password as described here:
http://www.linuxscrew.com/2008/06/22/configure-sudo-nopasswd/
Be sure to let sudo only run specific commands without password, not all.
您可以使用系统初始化脚本(Debian 上的
ln -s /etc/init.d/lighttpd /etc/rc2.d/S99lighttpd
)或使用 crontab 条目用于@reboot
You could avoid that with a system init script (
ln -s /etc/init.d/lighttpd /etc/rc2.d/S99lighttpd
on Debian) or with a crontab entry for@reboot