You can use the command line tool opfw to set open firmware passwords. It is available for download over at MacEnterprise.org. You can also use opfw to mass deploy open firmware passwords, which is basically what NetRestore does when you use their setting for this.