The GNU C Library - Tips for Setuid

Node: Tips for Setuid Next: Who Logged In Prev: Setuid Program Example Up: Users and Groups

Tips for Writing Setuid Programs

It is easy for setuid programs to give the user access that isn't intended---in fact, if you want to avoid this, you need to be careful. Here are some guidelines for preventing unintended access and minimizing its consequences when it does occur:


Next: Who Logged In Up: Users and Groups