Update systemctl.md

How to obtain a root shell when you can run systemctl status with sudo
This commit is contained in:
k4z01 2023-10-06 12:58:11 +03:00 committed by GitHub
parent 72cb09f404
commit 64763cdee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,4 +29,7 @@ functions:
code: | code: |
sudo systemctl sudo systemctl
!sh !sh
code: |
sudo /usr/bin/systemctl status any.service
!sh
--- ---