Change local user account password - Mac
Log In or Register to download the BES file, and more.

2 Votes

Versioning - This is the latest version.

1Change local user account password - Mac12/5/2013 11:23:54 AM
2Change local user account password - Mac12/6/2013 4:19:18 AM

Description


Property Details

ID3671
StatusProduction - Fully Tested and Ready for Production
TitleChange local user account password - Mac
DomainBESC
CategoryAccounts
Download Size0
SourceInternal
Source IDjbt8@psu.edu
Source Release Date5/3/2013 12:00:00 AM
Keywordsuser, net.exe, secure parameter, password
Added by on 12/6/2013 4:19:18 AM
Last Modified by on 12/6/2013 4:19:18 AM
Counters 5226 Views / 83 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 207 fixlets and 97 analyses   * Results in a true/false
Show indented relevance
mac of operating system
Used in 73 fixlets and 6 analyses   * Results in a true/false
Show indented relevance
version of client >= "9.0"

Actions

Action 1 (default)

Action Link Change  specified local user account password.
Script Type BigFix Action Script
action parameter query "username" with description "Please specify the name of an existing local user account"

wait sh -c "dscl localhost -passwd '/Search/Users/{parameter "username" of action}' {parameter "secret" of action}"

continue if {exit code of action = 0}
Success Criteria

This action will be considered successful when all lines of the action script have completed successfully.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
jgstew -
@dhull please create a post on forum.bigfix.com to get help with this.
dhull -
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?
FrozenWaltDisney -
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.