Description: Write to the HIVE file Enable the experimental function that writes to the HIVE the user password Patch available at: https://github.com/rescatux/chntpw/commit/dcab306dbf49ace2e38e6874ce46bef10ee604da Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803888 Forwarded: yes Origin: other Author: Adrian Gibanel Lopez Reviewed-by: Javier Fernández-Sanguino --- a/sampasswd.c +++ b/sampasswd.c @@ -243,7 +243,7 @@ wret = 0; for (il = 0; il < no_hives; il++) { - // wret |= writeHive(hive[il]); + wret |= writeHive(hive[il]); if (hive[il]->state & HMODE_DIDEXPAND) fprintf(stderr," WARNING: Registry file %s was expanded! Experimental! Use at own risk!\n",hive[il]->filename); while (no_hives > 0)