Searched refs:NEWUID (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/ValidationKit/testboxscript/darwin/
H A Dsetup-routines.sh191 NEWUID=$(expr `dscl . -readall /Users UniqueID | sed -ne 's/UniqueID: *\([0123456789]*\) *$/\1/p' | sort -n | tail -1 ` + 1)
192 if [ -z "$NEWUID" -o "${NEWUID}" -lt 502 ]; then
193 NEWUID=502;
198 dscl . -create "/Users/${TESTBOXSCRIPT_USER}" UniqueID ${NEWUID}

Completed in 33 milliseconds