kill users processes in linux with php

后端 未结 1 1573
我寻月下人不归
我寻月下人不归 2021-01-28 11:22

I am trying to write a php script to kill users in a redhat machine.

I know it is possible (and very insecure) to give apache the ability to do things as root, but I nee

相关标签:
1条回答
  • 2021-01-28 11:57

    Use the skill command instead:

    skill -9 -u username
    
    0 讨论(0)
提交回复
热议问题