Date: Sat, 10 Feb 1996 10:42:54 -0800 (PST) From: "az.com" <yankee@anna.az.com> To: freebsd-security@freebsd.org Subject: Need help building jails (fwd) Message-ID: <Pine.BSF.3.91.960210104236.28801C-100000@anna.az.com>
next in thread | raw e-mail | index | archive | help
2 questions: 1. Haven't been above to build a jail yet with chroot! Haven't been able to get chroot to work, any ideas? Want to do a chroot immediately upon login for certain accounts and make twilight zone versions of /usr/home,/usr/bin,/usr/sbin,/bin,/sbin,/usr/local/bin in a directory called /usr/jail chroot just gives an error when I try to use it from /etc/passwd, or .login, or at the csh: chroot: jail: Operation not permitted. I've tried endless permutations of permissions and configurations, nothing seems to work. If I'm super user, chroot works. Wanted to put a chroot in the best location, presumably not .login or .cshrc, but instead right in the /etc/passwd file as what to execute at login. 2. Can I find code for FreeBSD to do exactly the same thing as chroot with ftpd? 3. Can I find code for FreeBSD to do exactly the same thing as chroot with httpd? Thank You!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960210104236.28801C-100000>