[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: chntps utility to floppy?



On Sun, Nov 24, 2002 at 05:36:21PM -0500, cmustard wrote:
> I need to get the `chntpw' utility. I know that it is available from
> debian. I don't need, or really want to install it on my machine.
> I need it on a floppy, with it's required libs. what is the best way
> to achieve this? 
> 
> Of course i usually use `apt-get' for all my package/software installs but
> i have never addressed the situtaion of downloading a debian package 
> to floppy before and can find no `man' page for this.
> 
> Is my best bet getting the source(s) and compiling them to floppy?
> seems like a lot of work for an already working binary.

You could download the deb (either by hand or with apt-get -d install)
and use dpkg -x to unpack it to a temporary directory so you can copy
just the files you want. ldd will tell you which libraries the binaries
are linked against so you can copy over anything that isn't likely to be
installed on the machines where you're going to run it. Remember to set
LD_LIBRARY_PATH before running the binary, you may want to write a shell
script wrapper to do it for you.

-- 
Michael Heironimus



Reply to: