How to Chanege the User Password in AlmaLinux

This script provides a step-by-step guide on how to change a user’s password in AlmaLinux using the passwd command.

Introduction (30 seconds)

Hello everyone. Welcome to my channel! In this video, I want to show you how to change the user’s password in AlmaLinux.

Changing the User’s Password

To change the user’s password, you can use the passwd command.

Let’s get our users list first:

cat /etc/passwd

Now, let’s change “john”’s password:

sudo passwd john

This command prompts you to enter a new password for “john”.

You will need to enter the new password twice for confirmation.

We should verify that the password has been changed successfully.

su - john

If you can log in with the new password, it means the change was successful.

Conclusion (30 seconds)

If you found this tutorial helpful, please like and subscribe for more Linux administration videos. Drop any questions in the comments below!

Thanks for watching

Optional Thumbnail Text Ideas

  • How to Change User Password in AlmaLinux