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 run this command: vim.tiny /etc/pam.d/su then uncomment this line: #auth required pam_wheel.so use_uid#auth required pam_wheel.so use_uid This will require a user to login …

This is another way to gain root permissions on a Debian system; this is a script that will elevate the user to root for a specific command; like using the sudo command. su-to-root -X -c “cat /etc/shadow” This is what you get if you try this without root permissions. [[email protected] ~]$ su-to-root -p flynn -c …