Related Stackoverflow Question:
https://superuser.com/a/206826/55267
Related answer:
https://superuser.com/a/206826/55267
# setup
Related Stackoverflow Question:
https://superuser.com/a/206826/55267
Related answer:
https://superuser.com/a/206826/55267
# setup
#!/usr/local/munki/munki-python | |
# change the above path to your own python if you don't have Munki installed | |
""" | |
Merges add_servers into current favorites and removes remove_servers. | |
Run as root to update all users or as normal user to update just that user. | |
""" | |
import os | |
import getpass |
#!/bin/bash | |
set -e | |
declare -x USERNAME="$1" | |
declare -x USERPIC="$2" | |
declare -r DSIMPORT_CMD="/usr/bin/dsimport" | |
declare -r ID_CMD="/usr/bin/id" |
On your harvester/full node run the following command at the command prompt: