Security News > 2021 > April > Linux 101: The different types of sudo and su

Linux 101: The different types of sudo and su
2021-04-05 14:34

Knowing which sudo or su command to run is important.

If you're a new Linux admin, you probably at least know about sudo.

Even though most every Linux distribution uses sudo, some of them allow you to su to the super user account-otherwise known as root.

If you run the command sudo su - you will switch to the root user which will then execute all /etc/profile,.

Most often, you'll only have to run basic sudo or su commands.

If there's a command you must run, and it fails with a minimal sudo command, either sudo - or sudo su - will always work.


News URL

https://www.techrepublic.com/article/linux-101-the-different-types-of-sudo-and-su/#ftag=RSS56d97e7

Related vendor

VENDOR LAST 12M #/PRODUCTS LOW MEDIUM HIGH CRITICAL TOTAL VULNS
Linux 17 392 2104 1389 667 4552