Messages in this thread | | | Date | Tue, 30 Nov 1999 02:10:50 +1100 | From | Martijn van Oosterhout <> | Subject | Using capabilities |
| |
I'm doing a fair bit of raw network programming and I find it very annoying to have to do all the testing as root. Now, I figure I could give my user CAP_NET_RAW and CAP_NET_ADMIN but this is tricky.
For starters, any call to set*id() will clear the bits if you're not root. This can be disabled but then (i guess) login won't drop all the caps.
Then I figured CAP_SETPCAP to set it afterwards, but it seems that not even init has this cap set. How is this going to work?
Any ideas?
Martijn van Oosterhout Australia
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |