Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>in suid binaries; like ping

ping hasn't required suid in ages, there's net.ipv4.ping_group_range and CAP_NET_RAW.



"How can I identify if a binary file is set-user-ID?" https://unix.stackexchange.com/questions/192588/how-can-i-id...

    test -u "$(type -p ping)" && echo "the suid bit on ping is set"
    ls -l "$(type ping)"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: