Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Linux Mint Essentials
  • Table Of Contents Toc
  • Feedback & Rating feedback
Linux Mint Essentials

Linux Mint Essentials

By : Jay LaCroix
4.2 (10)
close
close
Linux Mint Essentials

Linux Mint Essentials

4.2 (10)
By: Jay LaCroix

Overview of this book

A task-oriented look at Linux Mint, using actual real-world examples to stimulate learning. Each topic is presented in an easy-to-follow order, with hands-on activities to reinforce the content. If you are starting out with Linux from a different platform or are well versed with Linux Mint and want a guide that shows you how to exploit certain functionality, this book is for you. No previous Linux experience is assumed.
Table of Contents (17 chapters)
close
close
16
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...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY