• CameronDev@programming.dev
    link
    fedilink
    English
    arrow-up
    7
    ·
    18 hours ago

    User process makes sense, but login shell is probably limited value. If your service gets pwn’d the attacker will spin up a reverse shell, and that isn’t protected by the login shell. You ideally want to use selinux/apparmor to prevent execution, or containers to limit the available execution environment.