Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd June 2006, 20:51
wlangdon wlangdon is offline
Junior Member
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default fedora vs freebsd file locations

Hi,

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.

Thanks,

Wayne.

PS: Yes I am very new to *nix, the apache server is my forced way to learn it.
Reply With Quote
Sponsored Links
  #2  
Old 23rd June 2006, 00:52
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,044
Thanks: 269
Thanked 154 Times in 133 Posts
Default

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..
Reply With Quote
  #3  
Old 23rd June 2006, 18:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
 
Default

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).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BIND broke adamluz Installation/Configuration 4 2nd June 2006 22:31
site - databases trueshanti Installation/Configuration 20 26th May 2006 02:28
Mysterious Install Problem tgansert Installation/Configuration 5 9th May 2006 16:35
Update to 2.2.0 question brianetilley Installation/Configuration 10 4th March 2006 18:02
Debian install error jf1976 Installation/Configuration 25 19th January 2006 23:31


All times are GMT +2. The time now is 03:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.