Updated sudo (markdown)

neil 2020-04-13 22:33:41 +08:00
parent 8ac952a34b
commit 2fa7b039c2

22
sudo.md

@ -8,4 +8,24 @@ Using `sudo` is not recommended. If not properly configured to not ask for passw
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.
**Remember:** Using `sudo` is not recommended. You have the option to force it at your own risk. You have been warned.
**Remember:** Using `sudo` is not recommended. You have the option to force it at your own risk. You have been warned.
If you need root, please su to root first, and then install acme.sh and use it.
```sh
#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 .....
```