]>
Commit | Line | Data |
---|---|---|
f9197a69 | 1 | --- chntpw-0.99.1-030126.orig/chntpw.8 |
2 | +++ chntpw-0.99.1-030126/chntpw.8 | |
3 | @@ -0,0 +1,96 @@ | |
4 | +.\" Hey, EMACS: -*- nroff -*- | |
5 | +.\" First parameter, NAME, should be all caps | |
6 | +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection | |
7 | +.\" other parameters are allowed: see man(7), man(1) | |
8 | +.TH CHNTPW 8 "30th May 2002" | |
9 | +.\" Please adjust this date whenever revising the manpage. | |
10 | +.\" | |
11 | +.\" Some roff macros, for reference: | |
12 | +.\" .nh disable hyphenation | |
13 | +.\" .hy enable hyphenation | |
14 | +.\" .ad l left justify | |
15 | +.\" .ad b justify to both left and right margins | |
16 | +.\" .nf disable filling | |
17 | +.\" .fi enable filling | |
18 | +.\" .br insert line break | |
19 | +.\" .sp <n> insert n+1 empty lines | |
20 | +.\" for manpage-specific macros, see man(7) | |
21 | +.SH NAME | |
22 | +chntpw \- utility to overwrite Windows NT/2000 SAM passwords | |
23 | +.SH SYNOPSIS | |
24 | +.B chntpw | |
25 | +.RI [ options ] | |
26 | +.RI < samfile > | |
27 | +.RI [ systemfile ] | |
28 | +.RI [ securityfile ] | |
29 | +.RI [ otherreghive ] | |
30 | +.RI [...] | |
31 | +.br | |
32 | +.SH DESCRIPTION | |
33 | +This manual page documents briefly the | |
34 | +.B chntpw | |
35 | +command. | |
36 | +This manual page was written for the Debian distribution | |
37 | +because the original program does not have a manual page. | |
38 | +.PP | |
39 | +.B chntpw | |
40 | +is a utility to view some information and change user passwords | |
41 | +in a Windows NT/2000 SAM userdatabase file. It is not necessary to | |
42 | +know the old passwords to reset them. In addition it contains a | |
43 | +simple registry editor (same size data writes) | |
44 | +and hex-editor with which the information contained in a registry | |
45 | +file can be browsed and modified. | |
46 | +.SH OPTIONS | |
47 | +.TP | |
48 | +.B \-h | |
49 | +Show summary of options. | |
50 | +.TP | |
51 | +.B \-u username | |
52 | +Username to change. Default is Administrator | |
53 | +.TP | |
54 | +.B \-l | |
55 | +List all users in the SAM database. | |
56 | +.TP | |
57 | +.B \-i | |
58 | +Interactive: list all users (as per -l) and then ask for the | |
59 | +user to change. | |
60 | +.TP | |
61 | +.B \-e | |
62 | +Registry editor with limited capabilities. | |
63 | +.TP | |
64 | +.B \-d | |
65 | +Use buffer debugger. | |
66 | +.TP | |
67 | +.B \-t | |
68 | +Show hexdumps of structs/segments (deprecated debug function). | |
69 | +.SH EXAMPLES | |
70 | +.TP | |
71 | +.B chntpw sam system | |
72 | +Opens registry hives | |
73 | +.B sam | |
74 | +and | |
75 | +.B system | |
76 | +and change administrator account. This will work even if the name | |
77 | +has been changed or it has been localized (since different language | |
78 | +versions of NT use different administrator names). | |
79 | +.TP | |
80 | +.B chntpw -u jabbathehutt mysam | |
81 | +Prompts for password for | |
82 | +.B jabbathehutt | |
83 | +and changes it in the | |
84 | +.B mysam | |
85 | +registry file, if found (otherwise do nothing) | |
86 | +.SH SEE ALSO | |
87 | +If you are looking for an automated procedure for password | |
88 | +recovery, you might look at the bootdisks provided by the | |
89 | +upstream author at | |
90 | +.BR http://home.eunet.no/~pnordahl/ntpasswd/ | |
91 | +.br | |
92 | +There is more information on how this program works available at | |
93 | +.IR /usr/share/doc/chntpw | |
94 | +. This information includes in-depth information on how the | |
95 | +registry works, what are syskeys and some other issues. | |
96 | +.SH AUTHOR | |
97 | +This manual page was written by | |
98 |