1 --- chntpw-070923/Makefile.orig 2007-09-23 17:58:06.000000000 +0000
2 +++ chntpw-070923/Makefile 2007-10-13 14:00:56.953996630 +0000
6 # This is to link with whatever we have, SSL crypto lib we put in static
7 -LIBS=-L$(OSSLLIB) $(OSSLLIB)/libcrypto.a
10 all: chntpw chntpw.static cpnt
12 --- chntpw-0.99.1-030126.orig/chntpw.8
13 +++ chntpw-0.99.1-030126/chntpw.8
15 +.\" Hey, EMACS: -*- nroff -*-
16 +.\" First parameter, NAME, should be all caps
17 +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
18 +.\" other parameters are allowed: see man(7), man(1)
19 +.TH CHNTPW 8 "30th May 2002"
20 +.\" Please adjust this date whenever revising the manpage.
22 +.\" Some roff macros, for reference:
23 +.\" .nh disable hyphenation
24 +.\" .hy enable hyphenation
25 +.\" .ad l left justify
26 +.\" .ad b justify to both left and right margins
27 +.\" .nf disable filling
28 +.\" .fi enable filling
29 +.\" .br insert line break
30 +.\" .sp <n> insert n+1 empty lines
31 +.\" for manpage-specific macros, see man(7)
33 +chntpw \- utility to overwrite Windows NT/2000 SAM passwords
44 +This manual page documents briefly the
47 +This manual page was written for the Debian distribution
48 +because the original program does not have a manual page.
51 +is a utility to view some information and change user passwords
52 +in a Windows NT/2000 SAM userdatabase file. It is not necessary to
53 +know the old passwords to reset them. In addition it contains a
54 +simple registry editor (same size data writes)
55 +and hex-editor with which the information contained in a registry
56 +file can be browsed and modified.
60 +Show summary of options.
63 +Username to change. Default is Administrator
66 +List all users in the SAM database.
69 +Interactive: list all users (as per -l) and then ask for the
73 +Registry editor with limited capabilities.
79 +Show hexdumps of structs/segments (deprecated debug function).
87 +and change administrator account. This will work even if the name
88 +has been changed or it has been localized (since different language
89 +versions of NT use different administrator names).
91 +.B chntpw -u jabbathehutt mysam
92 +Prompts for password for
94 +and changes it in the
96 +registry file, if found (otherwise do nothing)
98 +If you are looking for an automated procedure for password
99 +recovery, you might look at the bootdisks provided by the
101 +.BR http://home.eunet.no/~pnordahl/ntpasswd/
103 +There is more information on how this program works available at
104 +.IR /usr/share/doc/chntpw
105 +. This information includes in-depth information on how the
106 +registry works, what are syskeys and some other issues.
108 +This manual page was written by
109 +Javier Fernandez-Sanguino Peña <jfs@computer.org>,
110 +for the Debian GNU/Linux system (but may be used by others).