Why does "su" with " -c" command continue to execute the script in background when terminated abruptly ?
Issue
- The
su <user> -c <script>
command continue to execute the script in background when user terminates the session abruptly.
Environment
- Red Hat Enterprise Linux 7.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.