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.
No comments:
Post a Comment