Showing posts with label passwd command in linux. Show all posts
Showing posts with label passwd command in linux. Show all posts

Thursday, January 17, 2019

How to change user password in Linux | How to add a user password in Linux



Add a user password in Linux.


To change or add a user password in Linux, you must have root access.


Follow below step and see picture also. 

Steps:
[root@reyaz ~]# passwd test01
Changing password for user test01.
New password:
BAD PASSWORD: The password is shorter than 7 characters
Retype new password:
passwd: all authentication tokens updated successfully.



First confirm that you have root access
Type "passwd (username)"
type new password for this user
Retype the password 
Done.

You can find me on Fiverr & LinkedIn