---

Difference Between su and sudo and Configuring sudo in Linux

Linux is generally more secure than many other operating systems. A key part of this security comes from user management and permissions, which control who can do what on the system. By default, normal users cannot perform system-level operations.

When a regular user needs to make changes that affect the entire system, they must use either the su or sudo command to gain temporary administrative privileges.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis