#!/bin/bash ########################################################################## # Shellscript : enable local password sync NoMAD # Author : jobst heinermann, macenterprise gmbh 2019 # Source : https://nomad.menu/help/local-password-sync/ ########################################################################## # Variabeln user=$(stat -f '%u %Su' /dev/console | cut -d ' ' -f 2) # LocalPasswordSync 1 setzen defaults write /Users/$user/Library/Preferences/com.trusourcelabs.NoMAD.plist LocalPasswordSync 1