http://home.eunet.no/pnordahl/ntpasswd/ is a Linux windows registry and password editor. One also under development with samba. Messing with a active OS's configuration files in a way the OS does not expect is asking for hell. Better to set up a interface daemon.