Date: Fri, 8 Jun 2001 12:39:36 +0300 From: Odhiambo Washington <wash@wananchi.com> To: "questions@FreeBSD.ORG" <freebsd-questions@freebsd.org> Subject: Re: Creating Jails!!!! Message-ID: <20010608123936.L98797@everest.wananchi.com> In-Reply-To: <20010606141107.B8109@elwood.net>; from "Jim" on Wed, Jun 06, 2001 at 02:11:07PM -0500 References: <20010606083939.A5889@elwood.net> <Pine.LNX.4.21.0106060937430.18568-100000@slacknet.slacknet.com> <20010606141107.B8109@elwood.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] * Jim <jameso@elwood.net> [20010606 22:44]: writing on the subject 'Re: Creating Jails!!!!' Jim> The standard os binaries are installed when you build the jail. Now if Jim> you are talking about third party apps that you build by hand or Jim> install from ports, you just install those in the jail as well. You Jim> can just think of the jail as a second machine to make it easier to Jim> wrap your mind around the concept. I have tried to run sysinstall inside Jail but _NEVER_ worked for me! I keep wondering where I went wrong after following the jail man page to the letter!! Jim> Jim> On Wed, Jun 06, 2001 at 09:38:42AM -0600, RJ45 wrote: Jim> > anyone know how to create a shell jail so that users loggin on the system Jim> > cannot chdir outside their jail but at the same time they can use the Jim> > standard os binaries ?? Jim> > anyone has idea how to do it ?? Jim> > thanks Jim> > Jim> > Rick Jim> > Jim> > Jim> > On Wed, 6 Jun 2001, Jim wrote: Jim> > Jim> > > I created a Jail just the other day and it went fine. You might try Jim> > > re-cvsuping your source, doing a make clean, then try again. The man Jim> > > page walks through the process perfectly, follow it and it will work. Jim> > > Jim> > > On Wed, Jun 06, 2001 at 09:25:44AM +0100, G D McKee wrote: Jim> > > > Hi Jim> > > > Jim> > > > Trying to dreate a jail on FreeBSD 4.3-STABLE (5/6/01). Following the Jim> > > > instructions in man jail and getting the following error? Jim> > > > Jim> > > > Does anyone have any ideas? Jim> > > > Jim> > > > Thanks in advance. Jim> > > > Jim> > > > Gordon Jim> > > > Jim> > > > Jim> > > > kursk# set D=/home/gdm/jail Jim> > > > kursk# Jim> > > > kursk# echo $D Jim> > > > /home/gdm/jail Jim> > > > kursk# Jim> > > > kursk# Jim> > > > kursk# cd /usr/src/ Jim> > > > kursk# cd etc/ Jim> > > > kursk# make distribution DESTDIR=$D NO_MAKEDEV=yes Jim> > > > (cd /usr/src/etc; install -c -o root -g wheel -m 644 amd.map apmd.conf Jim> > > > auth.conf crontab csh.cshrc csh.login csh.logout dhclient.conf dm.conf Jim> > > > fbtab ftpusers gettytab group hosts hosts.allow host.conf hosts.equiv Jim> > > > hosts.lpd inetd.conf login.access login.conf motd modems networks Jim> > > > newsyslog.conf pam.conf phones printcap profile protocols rc rc.atm Jim> > > > rc.devfs rc.diskless1 rc.diskless2 rc.firewall rc.firewall6 rc.isdn Jim> > > > rc.network rc.network6 rc.pccard rc.serial rc.shutdown rc.syscons rc.sysctl Jim> > > > remote rpc security services shells syslog.conf usbd.conf etc.i386/disktab Jim> > > > etc.i386/rc.i386 etc.i386/ttys Jim> > > > /usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config Jim> > > > /usr/src/etc/../usr.bin/mail/misc/mail.rc Jim> > > > /usr/src/etc/../usr.bin/locate/locate/locate.rc /home/gdm/jail/etc; Jim> > > > install -c -o root -g wheel -m 755 netstart pccard_ether rc.suspend Jim> > > > rc.resume /home/gdm/jail/etc; install -c -o root -g wheel -m 644 Jim> > > > defaults/rc.conf /home/gdm/jail/etc/defaults/; install -c -o root -g Jim> > > > wheel -m 644 defaults/make.conf /home/gdm/jail/etc/defaults/; install -c -o Jim> > > > root -g wheel -m 644 defaults/pccard.conf /home/gdm/jail/etc/defaults/; Jim> > > > install -c -o root -g wheel -m 644 defaults/periodic.conf Jim> > > > /home/gdm/jail/etc/defaults/; install -c -o root -g wheel -m 600 /dev/null Jim> > > > /home/gdm/jail/var/log/cron; install -c -o root -g wheel -m 600 Jim> > > > master.passwd /home/gdm/jail/etc; ( cd /usr/src/etc/periodic; make Jim> > > > install ); ( cd /usr/src/etc/../gnu/usr.bin/send-pr; make Jim> > > > etc-gnats-freefall ); ( cd /usr/src/etc/../share/termcap; make Jim> > > > etc-termcap ); ( cd /usr/src/etc/../usr.sbin/rmt; make etc-rmt ); ( cd Jim> > > > /usr/src/etc/isdn; make install ); pwd_mkdb -p -d /home/gdm/jail/etc Jim> > > > /home/gdm/jail/etc/master.passwd; install -c -o root -g wheel -m 555 Jim> > > > MAKEDEV.local MAKEDEV /home/gdm/jail/dev ) Jim> > > > usage: install [-CcDpsv] [-f flags] [-g group] [-m mode] [-o owner] file1 Jim> > > > file2 Jim> > > > install [-CcDpsv] [-f flags] [-g group] [-m mode] [-o owner] file1 Jim> > > > ... Jim> > > > fileN directory Jim> > > > install -d [-v] [-g group] [-m mode] [-o owner] directory ... Jim> > > > *** Error code 64 Jim> > > > Jim> > > > Stop in /usr/src/etc. Jim> > > > kursk# Jim> > > > Jim> > > > Jim> > > > To Unsubscribe: send mail to majordomo@FreeBSD.org Jim> > > > with "unsubscribe freebsd-questions" in the body of the message Jim> > > Jim> > > -- Jim> > > Jim O'Gorman Jim> > > jameso@elwood.net Jim> > > Jim> > > To Unsubscribe: send mail to majordomo@FreeBSD.org Jim> > > with "unsubscribe freebsd-questions" in the body of the message Jim> > > Jim> > Jim> > Jim> > To Unsubscribe: send mail to majordomo@FreeBSD.org Jim> > with "unsubscribe freebsd-questions" in the body of the message Jim> Jim> -- Jim> Jim O'Gorman Jim> jameso@elwood.net Jim> Jim> To Unsubscribe: send mail to majordomo@FreeBSD.org Jim> with "unsubscribe freebsd-questions" in the body of the message -Wash -- Odhiambo Washington Wananchi Online Ltd., wash@wananchi.com 1st Flr Loita Hse. Tel: 254 2 313985 Loita Street., Fax: 254 2 313922 PO Box 10286,00100-NAIROBI,KE. There are many things in life that will catch your eye, but only a few will catch your heart... pursue those. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7IJ1Yn7LIsuxjem8RAkEmAJ9POzt43v18xhk0MevguoEAcVKHmQCgj62F p9eFiWUBZLmHguWvCiD6fQc= =6iGL -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010608123936.L98797>
