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

Removing user accounts


Of course, removing a user account in Linux Mint is just as easy as creating one. In the Users and Groups tool, simply click on the Delete button, as shown in the following screenshot:

However, note that doing so will also remove all the files of that user as well as their settings. Using shell commands, you can actually decide to keep the user's files even after removing their account. The deluser command will allow you to remove a user account via the Linux shell. For example, to delete user jdoe, use the following command line:

sudo deluser jdoe

Although the preceding command would delete the jdoe user, note that it does not delete the user's home directory. If you execute the following command after deleting the user, you will notice that the home directory for jdoe will still be listed:

ls /home

This is a great thing when used in a corporate environment, since you may be tasked with removing a user account but may have retention policies in place that mandate how...

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