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.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments