Posted on 11-29-2012 10:41 AM
Hi All,
I'm having issues changing a computer's shared name through all Terminal commands I can find online, as well as through Casper. When I change the computer name in the JSS, the change is reverted after an inventory update is given. Does anyone have a solution to this?
Thanks,
Russ
Posted on 11-29-2012 12:26 PM
jamf setComputerName -name $NewComputerName
scutil --set HostName $NewComputerName
one of these two will change the name in file sharing. I believe it is the first one. One changes the file sharing name and the other the hostname that you will see in the terminal (Which I'm 90% sure is the second one).