mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-10 17:12:07 +08:00
Updated sudo (markdown)
20
sudo.md
20
sudo.md
@@ -9,3 +9,23 @@ 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.
|
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 .....
|
||||||
|
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user