Systemd/Hardening/ru: Difference between revisions
Created page with "== См. Также ==" Tags: Mobile edit Mobile web edit |
Created page with "Простой пример:" |
||
| Line 22: | Line 22: | ||
While hardening a service, it often happens that you want a shell inside a hardened systemd unit, for exemple to check access to files, or check the network connectivity. One way to do this is to use tmux to create a session inside the service, and attaching to it outside of the service. | While hardening a service, it often happens that you want a shell inside a hardened systemd unit, for exemple to check access to files, or check the network connectivity. One way to do this is to use tmux to create a session inside the service, and attaching to it outside of the service. | ||
</div> | </div> | ||
Простой пример: | |||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||