Why Sudo Is So Important in Linux and How To Use It


Discover How To Learn Tips And Tricks HOWTOs

Why Sudo Is So Important in Linux and How To Use It

19.Laptop Bed

Sudo has made Linux not only more secure but also more user-friendly. If you're new to Linux, this article will explain what sudo is and how it's used. 

When I first started using Linux, things were exponentially more complicated. The distributions were far less mature, but they also required the use of a particular system account to get certain things done. That account was root, and with it, you had unlimited power over your operating system. 

To demonstrate the power of root, one trick you could always play on unsuspecting users was to tell them to change to the root user with the command su and then have them issue the following command:

rm -rf /
The rm command is used to delete files and folders. In conjunction with r (recursive) and f (force), you would delete everything from the root folder (/), thus rendering your system unusable.

Comments (0)

There are no comments posted here yet

We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.