How do I change a password in Linux?
Answer
To change a password on behalf of a user, first sign on or “su” to the “root” account. Then type, “passwd user” (where user is the username for the password you are changing). The system will prompt you to enter a password. Passwords do not echo to the screen when you enter them.
Photo in the article by “Wikimedia Commons”
To navigate to your home directory, use “cd” or “cd ~” To navigate up one directory level, use “cd ..” To navigate to the previous directory (or back), use “cd -” To navigate through multiple levels of directory at once, specify the full directory path that you want to go to.
Answer
To change a password on behalf of a user, first sign on or “su” to the “root” account. Then type, “passwd user” (where user is the username for the password you are changing). The system will prompt you to enter a password. Passwords do not echo to the screen when you enter them.
Photo in the article by “Wikimedia Commons”
Code:
https://commons.wikimedia.org/wiki/File:Astra_Linux_Common_Edition_1.11_%D0%9C%D0%B5%D0%BD%D1%8E_%D0%9F%D1%83%D1%81%D0%BA.png