chroot shell in Fedora
Rick Stevens
rstevens at vitalstream.com
Tue Jan 20 02:26:39 UTC 2004
Bob Byron wrote:
>
> > Rick Stevens wrote:
> > You'd need to copy /etc/passwd, /etc/group, etc. to /usr/jail for the
> > mnemonics to come up. This is exactly what you do when you set up a
> > "secure" anonymous FTP site.
>
> I am aware of that, and I thought I conveyed that I had done that in this
> passage:
> > But, when I "chroot /usr/jail", the environment does not see the
> > /usr/jail/etc/passwd or /usr/jail/etc/group files.
>
> What I am trying to figure out is if I did this correctly. Has anyone
> setup
> a full chroot shell in Fedora?
Not in Fedora, but in RH8.0 and 9. Remember, in the chroot environment,
the files won't be /usr/jail/etc/passwd, they'll be /etc/passwd and
so on.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- Duct Tape + Magic Marker = Label Maker! -
----------------------------------------------------------------------
More information about the fedora-list
mailing list