How Do I Reset a User in Linux?
Contents How Do I Reset a Linux Account? Linux: Reset User Password Open a Terminal Window. Issue the Command Sudo Passwd Username (Where Username Is the Name...
Contents
How do I reset a Linux account?
Linux: Reset User Password
Open a terminal window. Issue the command sudo passwd USERNAME (where USERNAME is the name of the user whose password you want to change). Type your user password. Type the new password for the other user.
How do I force a user to change password on Linux login?
To force a user to change his/her password, first of all the password must have expired and to cause a user’s password to expire, you can use the passwd command, which is used to change a user’s password by specifying the -e or –expire switch along with username as shown.