How to disable the su to root in Linux using PAM.

The default Linux behavior allows the user to gain root access by typing su and entering the root password to gain a root prompt. If you wish to disable this behavior, then open this file as root for editing. jason@jason-Virtual-Machine:~$ vim /etc/pam.d/sujason@jason-Virtual-Machine:~$ vim /etc/pam.d/su Then un-comment this line. auth required pam_wheel.soauth required pam_wheel.so And then … Read more

How to enable the su command to access the root account in Linux Mint 13.

Do you ever wish that you could enable the su command on Linux Mint 13 or Ubuntu? Well read on and you will learn how to accomplish this. By default the sudo command is used to run a command as the superuser; this command is controlled by the /etc/sudoers. This is what the file looks … Read more