Re: chroot shell in Fedora

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx - - VitalStream, Inc. http://www.vitalstream.com - - - - Duct Tape + Magic Marker = Label Maker! - ----------------------------------------------------------------------




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux