Of course you have to login to run this in a terminal. If you can't even get that far you can boot to single-user mode by holding Apple-S. From there you should be able to mount your root partition (directions are given on the console when you start single-user mode) and run the systemsetup command. – CocoabeanMay 24 '11 at 21:10