From 2fa7b039c20bd71cb4ff4c3dc8ab4b565bf8bd97 Mon Sep 17 00:00:00 2001 From: neil <8305679+Neilpang@users.noreply.github.com> Date: Mon, 13 Apr 2020 22:33:41 +0800 Subject: [PATCH] Updated sudo (markdown) --- sudo.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/sudo.md b/sudo.md index 46a1561..bc872ec 100644 --- a/sudo.md +++ b/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. \ No newline at end of file +**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 ..... + +```