Differences between revisions 3 and 4
Revision 3 as of 2021-02-22 20:26:55
Size: 489
Editor: SamatJain
Comment:
Revision 4 as of 2024-08-07 19:07:12
Size: 581
Editor: SamatJain
Comment: systemd-analyze security
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
== Security audit ==

{{{#!highlight sh
systemd-analyze security ${SERVICE_NAME}
}}}

User sessions

   1 mkdir -p ~/.config/systemd/user/
   2 
   3 systemctl --user enable $PATH_TO_SERVICE_FILE
   4 
   5 # Let user services start w/out user having to login
   6 sudo loginctl enable-linger ${USER}

Security audit

   1 systemd-analyze security ${SERVICE_NAME}


CategoryCheatSheet

SamatsWiki: CheatSheet/systemd (last edited 2024-08-07 19:07:12 by SamatJain)