Node:Tips for Setuid, Next:, Previous: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: