Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Nov 2011 18:54:24 -0800 (PST)
From:      masayoshi <rockstar01@y7mail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   How to login to my jail from host itself (normal user)
Message-ID:  <1321152864.63708.YahooMailNeo@web122210.mail.ne1.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi,I am masayoshi.=0AIf you have enough time, please answer my question.=0A=
=0AI must adduser Ayumi as normal user.=0AAfter adding her in jail, I add h=
er in host.=0AThen I type the following command:=0A=0A# ln -s /usr/jails/ww=
w/home/ayumi=A0 /home=0A=0AWhen she logins, she is in /usr/jails/www/home/a=
yumi.=0ABut if she uses "cd" command, she can move directory.=0A=0AI would =
like to keep her in jail because she is reckless.=0AI would like to know ho=
w to login to my jail as normal user from host itself when login prompt app=
ear.=0AIf possible, could you tell me how to do it?=0A=0AThanks in advance.=
=0A=0A=0A=0A%uname -r=0A8.2-RELEASE-p4=0A=0A%pkg_info | grep ezjail=0Aezjai=
l-3.1=A0=A0=A0=A0=A0=A0=A0=A0=A0 A framework to easily create, manipulate a=
nd run FreeBSD=0A=0A=0A%ifconfig em0=0Aem0: flags=3D8843<UP,BROADCAST,RUNNI=
NG,SIMPLEX,MULTICAST> metric 0 mtu 1500=0A=A0=A0=A0 options=3D219b<RXCSUM,T=
XCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>=0A=A0=A0=A0 ether=
 00:19:d1:1e:1c:72=0A=A0=A0=A0 inet 192.168.0.2 netmask 0xffffff00 broadcas=
t 192.168.0.255=0A=A0=A0=A0 inet 192.168.0.20 netmask 0xffffffff broadcast =
192.168.0.20=0A=A0=A0=A0 media: Ethernet autoselect (100baseTX <full-duplex=
>)=0A=A0=A0=A0 status: active=0A=0A%jls=0A=A0=A0 JID=A0 IP Address=A0=A0=A0=
=A0=A0 Hostname=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 Path=0A=A0=A0=A0=A0 1=A0 192.168.0.20=A0=A0=A0 www=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 /usr/jails/www=0A=
=0A=A0=0A---=0AInexperienced FreeBSD user: Level 3=0Amasayoshi & Ayumi Kino=
shita=0Ahttp://tinyurl.com/63zg3op



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