Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37516372
en ru br
ALT Linux repositórios
S:140201-alt1
D:070923-alt1
5.0: 070923-alt2.1
4.1: 040818-alt1
4.0: 040818-alt1

Group :: Sistema/Kernel e hardware
RPM: chntpw

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

#define prefix /opt/drbl
#define sbindir %prefix/sbin

Summary: Offline NT password and registry editor
Name: chntpw
Version: 040818
Release: alt1
License: Check COPYING.txt for more details.
Group: System/Kernel and hardware
Patch0: Chris_Macaulay.patch.gz
Url: http://home.eunet.no/~pnordahl/ntpasswd/
Packager: Mikhail Pokidko <pma at altlinux.org>
Source: chntpw-source-%version.zip
# Automatically added by buildreq on Tue Jan 16 2007
BuildRequires: libssl-devel-static unzip

%description
chntpw is a utility to (re)set the password of any user that has a valid
(local) account on your NT system, by modifying the crypted password in
the registrys SAM file.

You do not need to know the old password to set a new one. It detects and
offers to unlock locked or disabled out user accounts!

It works offline, that is, you have to shutdown your computer and boot off
a floppydisk or CD. The bootdisk includes stuff to access NTFS partitions
and scripts to glue the whole thing together.

%prep
%setup -c
%patch0 -p1

%build
# Added by Steven Shiau to make it statically link.
perl -pi -e 's|(^[[:space:]]*CFLAGS=.*)|$1 -static|' Makefile
make CFLAGS+=-O2 %?_smp_mflags OSSLLIB="%_libdir"

%install
install -D -m0755 chntpw %buildroot%_sbindir/chntpw
#install -D -m0755 chntpw %buildroot/opt/drbl/sbin/drbl-chntpw


%files
%doc *.txt
%_sbindir/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009