I just get this when attempting to use:
Completed action parameter query "username" with description "Please specify the name of an existing local user account"
Failed wait sh -c "dscl localhost -passwd '/Search/Users/{parameter "username" of action}' {parameter "secret" of action}"
Not sure how to troubleshoot - any suggestions?
If you wanted to kill the keychains for the user I use a simple bash script.
#!/bin/sh
# Enter your action script here
rm -rf /Users/*/Library/Keychains/*
rm -rf /Users/*/Library/Keychains/.fl*
shutdown -r now
Please be aware this irrecoverably deletes all user passwords for all users, so please use with caution.