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.
加载中,请稍侯......
精彩评论