开发者

setuid has same effect as sudo?

does setting uid has the same effect that sudo has? What happens if setuid'ed executable open whoami wit开发者_高级运维h popen? Do I get 'root'?


The sudo command affects the credentials of the current user to launching a given process. The setuid command affects the credentials of any user launching a given process.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜