-
-
Notifications
You must be signed in to change notification settings - Fork 5k
sudo
[TODO]
Do not use sudo
if you cannot properly configure it.
Notice: This wiki is not complete yet.
Using sudo
is not recommended. If not properly configured to not ask for password it may cause permission issues when running commands from the cronjob (like renew), resulting in some or all of your certificates not being renewed and eventually will expire.
If you need root, please su
to root first, and then install acme.sh and use it.
#unstall for current user
acme.sh --uninstall
#change to root
sudo su
#install again for root user
curl https://get.acme.sh | sh
#use it
bash
acme.sh --issue -d .....
Now, if you are completely sure of the issues and the possibilities with the usage of sudo
and still want to use it, you can pass the --force
parameter to work with sudo.
Buy me a beer, Donate to acme.sh if it saves your time. Your donation makes acme.sh better: https://donate.acme.sh/
如果 acme.sh 帮你节省了时间,请考虑赏我一杯啤酒🍺, 捐助: https://donate.acme.sh/ 你的支持将会使得 acme.sh 越来越好. 感谢