Posts

How to Change Another User’s Password in Linux?

  Changing Linux passwords for users is simple, but it may seem confusing for beginners due to the complex interface. Today, we’ll explore how to change passwords in Linux and cover changing another user’s password and forcing a password reset. To change the password for another user in Linux, follow these steps: 1. Open the Terminal window. 2. Type the su – or sudo -i command and press Enter. 3. As the root user, use the password command followed by the username: password username 4. Enter the new password for the user and confirm it by retyping. 5. Press Enter, and the process is complete!