Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Linux Mint Essentials

You're reading from   Linux Mint Essentials A practical guide to Linux Mint for the novice to the professional

Arrow left icon
Product type Paperback
Published in May 2014
Publisher Packt
ISBN-13 9781782168157
Length 324 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Jay LaCroix Jay LaCroix
Author Profile Icon Jay LaCroix
Jay LaCroix
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Meet Linux Mint FREE CHAPTER 2. Creating Boot Media and Installing Linux Mint 3. Getting Acquainted with Cinnamon 4. An Introduction to the Terminal 5. Utilizing Storage and Media 6. Installing and Removing Software 7. Enjoying Multimedia on Mint 8. Managing Users and Permissions 9. Connecting to Networks 10. Securing Linux Mint 11. Advanced Administration Techniques 12. Troubleshooting Linux Mint A. Reinstalling Mint while Retaining Data B. Using the MATE Edition of Linux Mint C. Using the KDE Edition of Linux Mint Index

Running commands or programs as other users


There may come a time where you need to impersonate another user on your system. In some of our examples so far, we've used the sudo command, which essentially runs commands as the root user. On a Linux system, the root account is the account that has access to basically everything. If Linux was a game of chess, think of the root account as the queen—it can go wherever it wants and delete whatever it wants.

Note

In Linux Mint (as well as most Ubuntu derivatives), the root account is disabled by default. Although the root account is disabled, you can still run commands as the root. Technically, the sudo command impersonates the root and works even if the root account is disabled. You can enable the root account with the sudo passwd command and disable it once again with the sudo passwd -l root command.

While we'll go over the technical details of the sudo command in the next section, it's important to understand how to run commands as a different user...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime