Latest Post

How to Detox Your Liver the Natural Way: A 5 Step Guide Experiential Intelligence: What It Is and How to Grow It Boost Your Workouts: How to Choose the Right Music – Vegetable + Butcher

Linux Modification User Password

We will show you how to change user password in Linux. Altering user passwords in Linux might be among the most common jobs you will have to carry out while you are administering a multi-user server. This is an extremely simple job though and in this tutorial, we will show you how to alter the user password on a < a href= target =_ blank rel= noopener >

Linux VPS despite which distribution you are currently using.To be able to run commands on the server you need to< a href= target= _ blank rel =noopener > connect to the Linux server via SSH. Keep in mind that just the root user, in addition to system users with sudo advantages, can change a password for another user. If you log in to the server with a non-sudo user, you can only alter your existing user’s password.How to change your current user password in Linux To change the password of your existing user, run the following command in the terminal:


You will be asked to enter your existing password for confirmation, then you can get in the brand-new password twice. In the example listed below, we are altering the password of the user1 user:

 [user1@vps/] $ passwd
Changing password for user user1.
Changing password for user1.
( current) UNIX password:
New password:
Retype new password:
passwd: all authentication tokens upgraded successfully.

The most typical errors while establishing a brand-new password for your system user are the following:

- BAD PASSWORD: The password is shorter than 8 characters
- BAD PASSWORD: The password fails the dictionary check - it is too simplistic/systematic
- BAD PASSWORD: The password is the very same as the old one

If you get a few of the above errors while establishing the new password, it indicates you are utilizing old or weak password. Generally, a password making use of at least 14 characters including alphanumeric and grammatical symbols is enough. Never use passwords based upon dictionary words or significant dates.To< a href= target= _ blank rel= noopener > generate a strong password from the command line you can use one of the following commands:

openssl rand -base64 14