How to login to my jail from host itself (normal user)
rockstar01 at y7mail.com
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.
%pkg_info | grep ezjail
ezjail-3.1 A framework to easily create, manipulate and run FreeBSD
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
inet 192.168.0.20 netmask 0xffffffff broadcast 192.168.0.20
media: Ethernet autoselect (100baseTX <full-duplex>)
JID IP Address Hostname Path
1 192.168.0.20 www /usr/jails/www
Inexperienced FreeBSD user: Level 3
masayoshi & Ayumi Kinoshita
More information about the freebsd-questions