Creating,
modifying, and deleting local user accounts and groups
139
Once
the user is created, we can add (or change) the password by running, as root, the command passwd followed by the username to change it:
[root@rhel-instance
]# passwd user01Changing password for user user01.New password redhatBAD PASSWORD The password is shorter than 8 charactersRetype new password redhatShare with your friends: