Find the answer to your Linux question:
Results 1 to 8 of 8
File I need is : /usr/sbin/htpasswd . Can somebody send it to me ? (grandima8 gmail.com) . Thanks in advance...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2011
    Posts
    4

    Red face RedHat 8.0 - i need one file (deleted by mistake :( )


    File I need is : /usr/sbin/htpasswd .

    Can somebody send it to me ? (grandima8 gmail.com) .

    Thanks in advance

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Hello and welcome to the forums!

    Redhat 8.0 has now become so outdated you might not find many people still using it. Your best bet would be to pull out your original install disk and fetch any files that you need from that. Otherwise, it's probably time for a major upgrade.
    oz

  3. #3
    Just Joined!
    Join Date
    Nov 2011
    Posts
    4

    :o)

    Problem is that it is not ordinary redhat server. It is IBM proventia apliance, based on redhat.
    So, yes, I think that the best solution would be, as you sad, to fetch files from install disk.
    Thanks

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,703
    The /usr/sbin/htpasswd command is part of the Apache web server suite. You might be able to get the appropriate version from the Apache web site.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  6. #5
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    The file is in the package httpd-tools in Fedora's archive repo located here:

    Index of /pub/archive/fedora/linux/releases/8/Fedora/i386/os/Packages

    you can do:
    Code:
    wget http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/8/Fedora/i386/os/Packages/httpd-tools-2.2.6-3.i386.rpm
    rpm2cpio < httpd-tools-2.2.6-3.i386.rpm > httpd-tools-2.2.6-3.i386.cpio
    mkdir httpd-tools
    cd httpd-tools
    cpio -idv < ../httpd-tools-2.2.6-3.i386.rpm
    ls -l ./usr/bin/htpasswd

  7. #6
    Just Joined!
    Join Date
    Nov 2011
    Posts
    4

    Red face @atreyu

    [root@ips httpd-tools]# ls -la
    total 84
    drwxr-xr-x 2 root root 4096 Nov 24 07:19 .
    drwxr-xr-x 24 root root 4096 Nov 24 07:15 ..
    -rw-r--r-- 1 root root 69721 Nov 24 07:19 httpd-tools-2.2.6-3.i386.rpm
    [root@ips httpd-tools]# cpio -idv < ./httpd-tools-2.2.6-3.i386.rpm
    cpio: premature end of archive


    I got this message. Maybe that rpm file isn't ok. I will search web for the other one. If you know some other source of that file, please let me know.
    Thanks !

  8. #7
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Hey,

    The size of the rpm you downloaded looks right (69721), but I think you skipped a couple steps. you have to run rpm2cpio on the httpd-tools*.rpm file, then run the cpio command on the httpd-tools-*.cpio file that is generated by the previous command. Take a look at the steps again, try again, and post back.

  9. #8
    Just Joined!
    Join Date
    Nov 2011
    Posts
    4
    Ahhhhh, yes, silly me. I was in hurry to try (worst thing to do, but that's me ) . Thanks! Now it is ok. Unzipped. I go on now .... I can't promise that I won't have further questions ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •