July 22, 2023, 11:46 a.m. | sathishkumar balachandran

DEV Community dev.to

Sudo :



  1. Root user - Critical operations are taken care.

  2. sudo or su do

  3. root binary setuid

  4. /etc/sudoers - default sudo security policy pulgin - this file defines who can run what .


Why we need sudo ?


Risk - to avoid normal user changing the configurations.

Think before you type.


sudo su --> changes to root in the terminal --> sudo useradd techie



  1. Lets give this user a root access

  2. Important file is /etc/sudoers







  1. sudo is more secure than …

binary care changing critical default etc file linux operations policy risk root run security security policy setuid sudo taken troubleshooting

Consultant infrastructure sécurité H/F

@ Hifield | Sèvres, France

SOC Analyst

@ Wix | Tel Aviv, Israel

Information Security Operations Officer

@ International Labour Organization | Geneva, CH, 1200

PMO Cybersécurité H/F

@ Hifield | Sèvres, France

Third Party Risk Management - Consultant

@ KPMG India | Bengaluru, Karnataka, India

Consultant Cyber Sécurité H/F - Strasbourg

@ Hifield | Strasbourg, France