Hands-on task
This task is step 10 of the course “Linux server security”
setcap: a privilege for a binary
Give the executable /root/mybin the ability to bind to ports below 1024 without root — via the file capability cap_net_bind_service.
Reference:capabilities: getcap and setcap
What you'll practise:
- capabilities
- setcap
- cap_net_bind_service
- security
- privileges