Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--uh9ZiVrAOUUm9fzH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Jim <jameso@elwood.net> [20010606 22:44]: writing on the subject 'Re: Cre=
ating 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>=20
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 s=
ystem
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> >=20
Jim> > Rick
Jim> >=20
Jim> >=20
Jim> > On Wed, 6 Jun 2001, Jim wrote:
Jim> >=20
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 m=
an
Jim> > > page walks through the process perfectly, follow it and it will wo=
rk.
Jim> > >=20
Jim> > > On Wed, Jun 06, 2001 at 09:25:44AM +0100, G D McKee wrote:
Jim> > > > Hi
Jim> > > >=20
Jim> > > > Trying to dreate a jail on FreeBSD 4.3-STABLE (5/6/01).  Followi=
ng the
Jim> > > > instructions in man jail and getting the following error?
Jim> > > >=20
Jim> > > > Does anyone have any ideas?
Jim> > > >=20
Jim> > > > Thanks in advance.
Jim> > > >=20
Jim> > > > Gordon
Jim> > > >=20
Jim> > > >=20
Jim> > > > kursk# set D=3D/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=3D$D NO_MAKEDEV=3Dyes
Jim> > > > (cd /usr/src/etc;  install -c -o root -g wheel -m 644 amd.map ap=
md.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 netwo=
rks
Jim> > > > newsyslog.conf  pam.conf phones printcap profile protocols  rc r=
c.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.sysco=
ns 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/e=
tc;
Jim> > > >  install -c -o root -g wheel -m 755 netstart pccard_ether rc.sus=
pend
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 ro=
ot -g
Jim> > > > wheel -m 644 defaults/make.conf /home/gdm/jail/etc/defaults/;  i=
nstall -c -o
Jim> > > > root -g wheel -m 644 defaults/pccard.conf /home/gdm/jail/etc/def=
aults/;
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 60=
0 /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; m=
ake
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/jai=
l/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 own=
er] file1
Jim> > > > file2
Jim> > > >        install [-CcDpsv] [-f flags] [-g group] [-m mode] [-o own=
er] file1
Jim> > > > ...
Jim> > > >              fileN directory
Jim> > > >        install -d [-v] [-g group] [-m mode] [-o owner] directory=
 ...
Jim> > > > *** Error code 64
Jim> > > >=20
Jim> > > > Stop in /usr/src/etc.
Jim> > > > kursk#
Jim> > > >=20
Jim> > > >=20
Jim> > > > To Unsubscribe: send mail to majordomo@FreeBSD.org
Jim> > > > with "unsubscribe freebsd-questions" in the body of the message
Jim> > >=20
Jim> > > --=20
Jim> > > Jim O'Gorman=20
Jim> > > jameso@elwood.net
Jim> > >=20
Jim> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
Jim> > > with "unsubscribe freebsd-questions" in the body of the message
Jim> > >=20
Jim> >=20
Jim> >=20
Jim> > To Unsubscribe: send mail to majordomo@FreeBSD.org
Jim> > with "unsubscribe freebsd-questions" in the body of the message
Jim>=20
Jim> --=20
Jim> Jim O'Gorman=20
Jim> jameso@elwood.net
Jim>=20
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=
=20
catch your heart... pursue those.=20

--uh9ZiVrAOUUm9fzH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7IJ1Yn7LIsuxjem8RAkEmAJ9POzt43v18xhk0MevguoEAcVKHmQCgj62F
p9eFiWUBZLmHguWvCiD6fQc=
=6iGL
-----END PGP SIGNATURE-----

--uh9ZiVrAOUUm9fzH--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010608123936.L98797>