Search icon CANCEL
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

Revoking access temporarily


There may come a time where you would like to temporarily revoke a user's account instead of outright deleting it. Examples of this may be a person who is going on leave, or perhaps you may have a user to whom you no longer wish to grant access, though you still need their files left intact. In Linux Mint, the easiest way to temporarily revoke access to the system is using the Users and Groups tool to change a user's password to one that they don't know. Then, they won't be able to log in until you give them the new password.

Of course, this is not the only way you can temporarily revoke access; you can also do so with the terminal. Also, there are several other ways to do so. One of the easier methods is similar to the preceding example: using the passwd command to change their password. Another way is to execute the following command to lock an account:

sudo passwd -l username

In the preceding example, the -l flag will lock an account. If you would like to unlock...

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 €18.99/month. Cancel anytime