netkit-core icon indicating copy to clipboard operation
netkit-core copied to clipboard

It is now possible to run only bin/manage_tuntap script via sudo, not /bi

Open sv75 opened this issue 14 years ago • 0 comments

It is now possible to run only bin/manage_tuntap script via sudo, not /bin/sh. This is very important if netkit is used on public computers. Starting /bin/sh via sudo is rather bad idea.

Now your /etc/sudoers could contain just a line like this: student ALL=NOPASSWD: /usr/local/netkit/bin/manage_tuntap

This commit fixes the https://github.com/maxonthegit/netkit-core/issues/17 issue.

sv75 avatar Sep 25 '11 15:09 sv75