What I would like to do:
change the realname & password of a machine in a simple way with applescript.
applescript:
display dialog "Your name?" default answer ""
set STNR to the text returned of the result
display dialog "Password?" default answer ""
set pass to the text returned of the result
do shell script "nicl / -create /users/student realname " & STNR & ""
This changes the realname of the mac, is there a way to change the password? I tried using nicl and passwd but this doesn't seem to work.
The only interaction I want is the dialogbox!
suggestions?
change the realname & password of a machine in a simple way with applescript.
applescript:
display dialog "Your name?" default answer ""
set STNR to the text returned of the result
display dialog "Password?" default answer ""
set pass to the text returned of the result
do shell script "nicl / -create /users/student realname " & STNR & ""
This changes the realname of the mac, is there a way to change the password? I tried using nicl and passwd but this doesn't seem to work.
The only interaction I want is the dialogbox!
suggestions?