chntpw - NT SAM password recovery utility

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Universe amd64
Package name chntpw
Package version 1.0
Package release 1build1
Package architecture amd64
Package type deb
Installed size 378 B
Download size 83.15 KB
Official Mirror
This little program provides a way to view information and
change user passwords in a Windows NT/2000 user database file.
Old passwords need not be known since they are overwritten.
In addition it also contains a simple registry editor
(same size data writes) and an hex-editor which enables you to
fiddle around with bits and bytes in the file as you wish.
If you want GNU/Linux bootdisks for offline password recovery
you can add this utility to custom image disks or use those provided
at the tools homepage.


Package Version Architecture Repository
chntpw_1.0-1build1_i386.deb 1.0 i386 Ubuntu Universe
chntpw - - -


Name Value
libc6 >= 2.14


Type URL
Binary Package chntpw_1.0-1build1_amd64.deb
Source Package chntpw

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install chntpw deb package:
    # sudo apt-get install chntpw




2018-04-03 - Balint Reczey <>
chntpw (1.0-1build1) bionic; urgency=high
* No change rebuild to pick up -fPIE compiler default
2014-08-06 - Javier Fernández-Sanguino Peña <>
chntpw (1.0-1) unstable; urgency=low
* Update to latest upstream release, published in 2014-02-01
* debian/rules: Provide also the other binaries built in the sources:
reged (Simple Registry Edit Utility for Windows registry hives),
sampasswd (SAM database, add or remove user in a group),
samusrgrp (SAM database, add or remove user in a group)
* debian/samusrgrp.8 debian/reged.8 debian/sampasswd.8: Write manpages
for all of the other programs built and included now in the package
* debian/chntpw.8: Update the manpage contents based on the program's
current -h output.
* debian/patches/01_port_to_gcrypt.patch: 
Update patch since in this release upstream author uses a new define
(DOCRYPTO) that enables cryptographic code.  This code, that enabled
users to change the password, is not enabled by default anymore since
it does not work with Windows XP (and later) systems.
* debian/patches/11_improve_documentation:
Add a new patch to improve the English (by a non-native speaker
oh! the irony!) of the HISTORY.txt and MANUAL.txt files, fixing
grammar and spelling mistakes, as well as some typos.
* debian/changelog: Fix typo and add reference to Ubuntu closed bug
* debian/control:
- Require debhelp version 5, as per debian/compat
* debian/rules: 
- Update definitions to adapt to this version and upstream's numbering
* Lintian fixes:
- Remove statically compiled files from sources (Fixes: source-is-missing)
- debian/copyright: point to the versioned license files, not the
symlinks since the source does not allow the use of later GPL
versions (Fixes: copyright-refers-to-versionless-license-file)
- debian/chntpw.8: Fix manpage error (Fixes:
- debian/rules: 
+ Added missing targets build-indep and build-arch (fixes:
+ Include provided by dpkg-dev (fixes:
- debian/control: 
+ Added  ${misc:Depends} (fixes: debhelper-but-no-misc-depends)
+ Use UTF-8 version of maintainer's second surname (i.e. 'ñ' instead
of 'n~') this prevents tools from thinking the uploads are a NMU
when they are not (fixes: changelog-should-mention-nmu)
+ Update Standards Version to 3.9.5, no changes needed (fixes:
- debian/docs: Remove HISTORY.txt, it is included as a changelog already
(fixes: duplicate-changelog-files)
2014-01-29 - Javier Fernández-Sanguino Peña <>
chntpw ( unstable; urgency=medium
* Update to latest upstream release, published in 2011-05-09 (Closes: #615965) (LP: #637623)
* Change Build-Dep to use 'libgcrypt11-dev | libgcrypt-dev' instead of
'libgcrypt11-dev | libssl-dev' (Closes: #639350)
* debian/patches:
- Refreshed patches
- Remove patches that do not apply anymore, some of these
were incorporated upstream.
- Fix 09_improve_robustness, the length of the input call was
not being properly calculated, resulting in chntpwd not clearing
the password properly. This was fixed in Fedora's patches see:
(Closes: #705292)

See Also

Package Description
chocolate-common_3.0.0-4_all.deb dummy transitional package for chocolate-doom related packages
chocolate-doom_3.0.0-4_amd64.deb Doom engines closely-compatible with Vanilla Doom
choosewm_0.1.6-3build1_amd64.deb fake x-session-manager allowing the user to choose a wm
choqok_1.6-1.isreally.1.6-2.1_amd64.deb KDE micro-blogging client
chordii_4.5.3+repack-0.1_amd64.deb Text file (chordpro format) to music sheet converter
choreonoid-data_1.5.0+dfsg-0.1build3_all.deb Integrated robotics GUI environment - shared data
choreonoid-doc_1.5.0+dfsg-0.1build3_all.deb Integrated robotics GUI environment - documentation
choreonoid-plugins-base_1.5.0+dfsg-0.1build3_amd64.deb Integrated robotics GUI environment - core plug-ins
choreonoid_1.5.0+dfsg-0.1build3_amd64.deb Integrated robotics GUI environment
chroma_0.4.0+git20180402.51d250f-1_amd64.deb general purpose syntax highlighter in pure Go
chrome-gnome-shell_10-1_all.deb GNOME Shell extensions integration for web browsers
chromium-browser-l10n_65.0.3325.181-0ubuntu1_all.deb chromium-browser language packages
chromium-browser_65.0.3325.181-0ubuntu1_amd64.deb Chromium web browser, open-source version of Chrome
chromium-bsu-data_0.9.16.1-1_all.deb data pack for the Chromium B.S.U. game
chromium-bsu_0.9.16.1-1_amd64.deb fast paced, arcade-style, scrolling space shooter