How to login to my jail from host itself (normal user)

masayoshi rockstar01 at
Sun Nov 13 02:54:25 UTC 2011

Hi,I am masayoshi.
If you have enough time, please answer my question.

I must adduser Ayumi as normal user.
After adding her in jail, I add her in host.
Then I type the following command:

# ln -s /usr/jails/www/home/ayumi  /home

When she logins, she is in /usr/jails/www/home/ayumi.
But if she uses "cd" command, she can move directory.

I would like to keep her in jail because she is reckless.
I would like to know how to login to my jail as normal user from host itself when login prompt appear.
If possible, could you tell me how to do it?

Thanks in advance.

%uname -r

%pkg_info | grep ezjail
ezjail-3.1          A framework to easily create, manipulate and run FreeBSD

%ifconfig em0
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    ether 00:19:d1:1e:1c:72
    inet netmask 0xffffff00 broadcast
    inet netmask 0xffffffff broadcast
    media: Ethernet autoselect (100baseTX <full-duplex>)
    status: active

   JID  IP Address      Hostname                      Path
     1    www                           /usr/jails/www

Inexperienced FreeBSD user: Level 3
masayoshi & Ayumi Kinoshita

More information about the freebsd-questions mailing list