Hello friends I'm trying to make a script to change the user password of about 200 machines and I'm not getting it, what I have so far and this
!/bin/bash
unset HISTFILE
dscl . -passwd /Users/username newpassword
security set-keychain-password -o oldpassword -p newpassword