fedora vs freebsd file locations

Discussion in 'Server Operation' started by wlangdon, Jun 22, 2006.

  1. wlangdon

    wlangdon New Member


    I am following a tutorial for securing Apache2 but the tutorial is FreeBSD 5.1 based and I am using Fedora Core 5. The problem is I cant find the following files to complete the tutorial (Extracted from tutorial on securityfocus.com)

    cp /usr/libexec/ld-elf.so.1 /chroot/httpd/usr/libexec/
    cp /var/run/ld-elf.so.hints /chroot/httpd/var/run/
    cp /etc/master.passwd /chroot/httpd/etc/passwords

    Any help on this would be HUGELY appreciated.



    PS: Yes I am very new to *nix, the apache server is my forced way to learn it.
  2. edge

    edge Active Member Moderator

    Not sure if you know, but cp stands for copy.

    the line: cp /usr/libexec/ld-elf.so.1 /chroot/httpd/usr/libexec/
    is sayin copy the "/usr/libexec/lib-elf.so.1" file to "/chroot/httpd/usr/libexec/"

    What directory / file can you not find?

    You can do a updatedb, and than search lib-elf.so.1 to find the lib-elf.so.1 file and adjust the "/usr/libexec/" path to it..

    You will need to do the same for the other files.

    Good luck,

    PS. I'm also new to linux..
  3. falko

    falko Super Moderator ISPConfig Developer

    I don't think it's a good idea to use a FreeBSD tutorial on a Linux system, because libraries and files are different. For example, /etc/master.passwd on FreeBSD is /etc/shadow on Linux (if I remember correctly).

Share This Page