restrict sudo su
Hi,
I want to know the best practice for security, restrict sudo su. |
Hi bediinderjit, and welcome to LQ.
Can you please explain a bit more about what it is you are trying to do. Do you want to restrict root access to users on your system? |
|
Quote:
bediinderjit, the links pan64 points to will show you how to configure sudo correctly. As you have noticed, probably with Ubuntu, many distros have it badly misconfigured by default and it is up to you to fix the distro's mistakes. The one key point to remember is that you may whitelist programs and their options, blacklisting does not and cannot work. So begin your plans for configuration by deciding which things you specifically wish to allow and then adding them in one at time. |
looks like a single-post-member again. Anyway, the sequence "sudo su" is deprecated and also you can say "bad practice". You need to configure your system to not allow this at all.
|
Quote:
|
The sudoers man page is also a great resource.
|
All times are GMT -5. The time now is 02:08 AM. |