root 권한이 있어야만 raw socket을 사용할 수 있다는 사실은 알고 있는데...
혹시 일반유저에게 raw socket을 사용할 수 있도록 특별히 권한을 줄 수 있는지 궁금합니다.
학교에서 프로젝트 때문에 개개인의 사람들에게 모두 root 권한을 줄 수는 없고..
분류해서 raw socket만 사용할 수 있도록 하고 싶습니다.
답변 부탁드립니다.
setuid 이용하세요
Written By the Black Knight of Destruction
setuid(getuid());
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
setuid
setuid 이용하세요
Written By the Black Knight of Destruction
Written By the Black Knight of Destruction
setuid
setuid(getuid());
댓글 달기