ca23
![]() |
|
|
|
|
|||||||
| General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||||||
|
|||||||
|
Hello, i create chroot jail every thing fine but when i try to login with the jailed user with su i got:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
|
#2
|
||||
|
||||
|
You can login to jail using jexec if openssh not installed in a jail:
Code:
jls -v jexec jailid csh
__________________
Neither in this world nor elsewhere is there any happiness in store for him who always doubts. If you enjoyed my answer please consider donating some money to FreeBSD foundation @ http://www.freebsdfoundation.org/ |
|
#3
|
||||
|
||||
|
chroot != jail
So which one is it? A chrooted or a jailed environment? Please see jail(8) and chroot(8) for the differences.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#4
|
||||
|
||||
|
OP: yes this is confusing as pointed out by SirDice. Please clarify... on freebsd there is no need to use chroot call. chroot(2) can be escaped easily; use jails.
__________________
Neither in this world nor elsewhere is there any happiness in store for him who always doubts. If you enjoyed my answer please consider donating some money to FreeBSD foundation @ http://www.freebsdfoundation.org/ |
|
#5
|
|||
|
|||
|
Hello, it is chroot.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| "freebsd-update fetch", fetching public key failed. | Logan | Installing & Upgrading | 24 | September 25th, 2012 19:10 |
| "Cross-Compile" the FreeBSD kernel | honk | General | 4 | June 18th, 2009 01:44 |
| FreeBSD 7.1 USB Drive installation failure:"cannot write to disk" | klemes | Installing & Upgrading | 0 | March 30th, 2009 14:03 |
| "ping: sendto: Can't assign requested address" in Jail | mbs | Networking | 5 | February 18th, 2009 08:54 |
| "free" command/perl script for freebsd | unixdude | General | 10 | November 20th, 2008 10:57 |