Created
January 27, 2025 13:12
-
-
Save garywill/09a878e2e5c4d5f662dc1cdd52d08d97 to your computer and use it in GitHub Desktop.
Revisions
-
garywill created this gist
Jan 27, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ sudo capsh --caps='cap_net_bind_service+eip cap_setpcap,cap_setuid,cap_setgid+ep' \ --keep=1 --user=non-root-user --addamb=cap_net_bind_service -- \ -c '/path/to/your/command'