阅读背景:

为什么SetSUID不能用于shell脚本?

来源:互联网 

I am trying to create a executor program for regular users on linux with SUID bit set so whatever commands, passed to the program as parameters, get executed with root permission. However when I try to implement this as a bash script, this does not work, where it works when implemented in C. I want to know what I am doing wrong for the shell script. The codes are belowI am trying to create a executor program for re




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: