Answers for "linux change password chpasswd"

6

change linux user password

#if you dont't have your root password => then don't use sudo command

# passwd <username>
Current password:
New password:
Retype new password:
passwd: password updated successfully
Posted by: Guest on May-29-2020
0

linux change password chpasswd

# Chpasswd command is very simple to use 
[ root@myhost ~ ] # echo "tom:1234" | chpasswd
 
# Using the passwd command, you can also change the password in a batch like mode
[ root@myhost ~ ] # echo "1234" | passwd --stdin "tom" 
Changing password for user tom.
 passwd: All authentication tokens Updated successfully.
Posted by: Guest on October-23-2021

Code answers related to "linux change password chpasswd"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language