microwavecamera
Joined 9 years ago
Karma
1,165
Submissions
482
Member since
Mar 17
Joined 9 years ago
echo mynewuser:mynewpassword | sudo chpasswd
If you set the password using echo like this it will log the plaintext password in the current user's .bash_history file.