Home The GNU C Library www.imodulo.com · 2003-04-05
Imodulo

Tips for Setuid

[ Up: Users and Groups ]
[ Previous: Setuid Program Example ][ Next: Who Logged In ]

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: