Systemd/Hardening/ru: Difference between revisions

Unabomberlive (talk | contribs)
Created page with "== См. Также =="
Tags: Mobile edit Mobile web edit
Unabomberlive (talk | contribs)
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>
<div lang="en" dir="ltr" class="mw-content-ltr">
Простой пример:
Simple example:
</div>
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">