This post demonstrates a C program that will allow you to drop into a root shell. I will describe how to compile it, and how to set up the permissions and suid bit so that any user can run it to get root!
Have you ever been curious what the failed ssh password attempts are? Wonder no more with a simple PAM patch! This enables logging of the attempted ssh login including the password!