How to change a linux account password


I don’t dabble in Linux very much but had an issue with an account on a CentOS server and I’d forgotten how to reset a password

You need to be logged in as superuser i.e. root so that you are then able to change the password for any account.

The command is passwd:

passwd joebloggs

You should then be prompted to enter a new password and asked to confirm

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s