Book Image

Linux Mint Essentials

By : Jay LaCroix
Book Image

Linux Mint Essentials

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)
16
Index

Changing passwords


With the Users and Groups tool, changing passwords is easy. In the preceding section, we discussed how to set a password for a user while creating a new account. To change the password for a user, simply go through the process again by clicking on the text next to Password, and then you type in the new password; that's it!

On the shell, the passwd command allows a user to change their own password. In fact, a user can even change their own password via the GUI by accessing System Settings and then Account Details, so using a terminal command such as passwd isn't required. However, the passwd command can also allow administrators to change the passwords of other users as well.

Although we'll discuss sudo in more detail later in this chapter, the sudo command allows you to run a command as an administrator, provided you are a member of the sudo group. If you execute the sudo passwd command, followed by a username, you can change the password for any user you like (even if...