Change user password through BASH script
Very often I need to automate some bulk user password change. In the following examples we have: $user as username $pass as password in plain text Currently these are the methods I use to change user passwords: chpasswd method echo “$user:$pass” | chpasswd The old passwd method echo -e “$pass\n$pass” | passwd $user Also… Continue reading Change user password through BASH script