Whilst following an online guide on how to secure Ubuntu server, I ran this command on one of my test VM's.
sudo dpkg-statoverride --update --add root admin 4750 /bin/su
I know the intention of the command was to limit the use of su
to specific users.
What I didn't realise is that su
is already disabled by default on Ubuntu.
Could someone tell me how to reverse it on Ubuntu 12.04?
I have already tried:
sudo dpkg-statoverride --remove /bin/su