diff options
| author | mo khan <mo.khan@gmail.com> | 2019-09-29 19:31:01 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2019-09-29 19:31:01 -0600 |
| commit | e05a526797f016b7a6c4f0d7ac6d1c5a521ae9f2 (patch) | |
| tree | c09496d25c080a57149e82b0c85311b0a3cbf2cc /README.md | |
| parent | 16898bec630474dd5ff57eb0adad8ebdd7098ae8 (diff) | |
prepare to change the runlevel
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -871,6 +871,14 @@ Your report should include advice to other people attempting to do the same. To start and stop the service you can use `systemctl`. ```bash + モ systemctl start ctrl-alt-del.target + ``` + + ```bash + モ systemctl stop ctrl-alt-del.target + ``` + + ```bash モ systemctl status ctrl-alt-del.target ● reboot.target - Reboot Loaded: loaded (/usr/lib/systemd/system/reboot.target; enabled; vendor preset: enabled) @@ -886,7 +894,19 @@ Your report should include advice to other people attempting to do the same. 2. Read the man page for the shutdown command. a. How do you shut down the system to a single-user mode? Try it and present results. + On a systemd based system you need to change the current run-level. + + * run level 0: poweroff.target + * run level 1: rescue.target + * run level 3: multi-user.target + * run level 5: graphical.target + * run level 6: reboot.target + + The default run level on my system is: + ```bash + モ systemctl get-default + graphical.target ``` b. What’s difference between single-user mode and how the system normally runs? |
