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

Reminds me of an assignment I had at uni to implement sudo in C. You get elevated permissions using the setuid bit, and can verify the password of $USER against /etc/passwd.


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

Search: