Unix Technical Forum

Fedora / FreeBSD files question

This is a discussion on Fedora / FreeBSD files question within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi, I am using a tutorial to setup apache on my fedora 5.0 server. The tutorial however is based ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 06:06 PM
Wayne
 
Posts: n/a
Default Fedora / FreeBSD files question

Hi,

I am using a tutorial to setup apache on my fedora 5.0 server.
The tutorial however is based on FreeBSD 5.1

I cant find the following files to cp though.

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

Can anyone help ?

Thanks,

Wayne.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 06:07 PM
chuckcar
 
Posts: n/a
Default Re: Fedora / FreeBSD files question

"Wayne" <wayne@somedomain.com> wrote in
news:e7ej3n$fjs$1@ctb-nnrp2.saix.net:

> Hi,
>
> I am using a tutorial to setup apache on my fedora 5.0 server.
> The tutorial however is based on FreeBSD 5.1
>
> I cant find the following files to cp though.
>
> cp /usr/libexec/ld-elf.so.1 /chroot/httpd/usr/libexec/


try /usr/lib/ld-elf.so.1 (why you're copying a library instead of making
a symlink though I can't understand..)
> cp /var/run/ld-elf.so.hints /chroot/httpd/var/run/
> cp /etc/master.passwd /chroot/httpd/etc/passwords



try /etc/passwd although shadow passwords may interfere with that.

> Can anyone help ?
>
> Thanks,
>
> Wayne.
>
>
>




--
(setq (chuck nil) car(chuck) )
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 06:07 PM
Nico Kadel-Garcia
 
Posts: n/a
Default Re: Fedora / FreeBSD files question


"Wayne" <wayne@somedomain.com> wrote in message
news:e7ej3n$fjs$1@ctb-nnrp2.saix.net...
> Hi,
>
> I am using a tutorial to setup apache on my fedora 5.0 server.
> The tutorial however is based on FreeBSD 5.1
>
> I cant find the following files to cp though.
>
> 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
>
> Can anyone help ?
>
> Thanks,
>
> Wayne.


OK, first, FreeBSD 5.1 is fairly out of date: 6.1 is out and pretty stable.

Second, the core libraries for your chroot cage are whatever the httpd and
other binaries need: you can get a list of those by doing "ld `which
httpd`", which reports the critical libraries.

The /etc/master.passwd thing just looks weird. What is that under FreeBSD?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 06:07 PM
Bill Marcum
 
Posts: n/a
Default Re: Fedora / FreeBSD files question

On Thu, 22 Jun 2006 19:07:40 +0200, Wayne
<wayne@somedomain.com> wrote:
> Hi,
>
> I am using a tutorial to setup apache on my fedora 5.0 server.
> The tutorial however is based on FreeBSD 5.1
>
> I cant find the following files to cp though.
>
> 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
>
> Can anyone help ?
>

Use a tutorial written for Linux. There should be one at tldp.org.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-18-2008, 06:07 PM
Wayne
 
Posts: n/a
Default Re: Fedora / FreeBSD files question

Hi Guys,

Thanks for the help, its very appreciated.

Also thanks for the link will check it out.

Wayne.

"Bill Marcum" <bmarcum@iglou.com> wrote in message
news:se5sm3-e8u.ln1@don.localnet...
> On Thu, 22 Jun 2006 19:07:40 +0200, Wayne
> <wayne@somedomain.com> wrote:
> > Hi,
> >
> > I am using a tutorial to setup apache on my fedora 5.0 server.
> > The tutorial however is based on FreeBSD 5.1
> >
> > I cant find the following files to cp though.
> >
> > 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
> >
> > Can anyone help ?
> >

> Use a tutorial written for Linux. There should be one at tldp.org.
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-18-2008, 06:07 PM
Michael Heiming
 
Posts: n/a
Default Re: Fedora / FreeBSD files question

In comp.os.linux.setup Nico Kadel-Garcia <nkadel@comcast.net>:

> "Wayne" <wayne@somedomain.com> wrote in message
> news:e7ej3n$fjs$1@ctb-nnrp2.saix.net...
>> Hi,
>>
>> I am using a tutorial to setup apache on my fedora 5.0 server.
>> The tutorial however is based on FreeBSD 5.1
>>
>> I cant find the following files to cp though.

[..]
>> cp /etc/master.passwd /chroot/httpd/etc/passwords

[..]

> The /etc/master.passwd thing just looks weird. What is that under FreeBSD?


FYI.

It is used in conjunction with /etc/spwd.db to store hashed
passwords on *BSD, like /etc/shadow on Linux. Though the format
is different.

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 460: Here's a nickel, kid. Get yourself a better
computer.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:05 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com