Systemd/Hardening: Difference between revisions

Kiri (talk | contribs)
m Fix small typo
First time editing the wiki, apologies if I did anything wrong! I didn't want to remove the tmux stuff added by others, so I kept my changes to a sentence or two inserted before it
 
Line 25: Line 25:
<translate>
<translate>
<!--T:7-->
<!--T:7-->
While hardening a service, it often happens that you want a shell inside a hardened systemd unit, for example 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 example to check access to files, or check the network connectivity. Since systemd v258, one may run <code>systemd-analyze unit-shell <service></code> to accomplish this. Note that this [https://mastodon.social/@zihco/114823612021351075 currently] only works for running services. Alternatively, one might use tmux to create a session inside the service, and attaching to it outside of the service.
</translate>
</translate>
<translate>
<translate>