root# dscl . -change /Users/default RealName "Brian" "David"
When running this command in Terminal the Full Name of the user that is associated with home folder "default" is changed from Brian to David.
However when I try to run this command in ScriptEditor I get a syntax error.
do shell script "dscl . -change /Users/default RealName "Brian" "David""