14

I have access to a a previously set up FreeBSD box with a number of jails on it. One of the jails is an SQL server, and does not have ssh enabled on it.

How can I gain access to a shell on that jail from the host machine? (I have root rights on it.)

mpontillo
  • 924

1 Answers1

26

First run jls to find out needed jail ID, then jexec ${jailID} /bin/tcsh (${jailID} is an ID of your jail)

jlliagre
  • 9,031
imax
  • 2,351