mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-18 16:21:32 +01:00
docs: document JID login for console
This commit is contained in:
@@ -2,8 +2,7 @@
|
|||||||
console
|
console
|
||||||
=======
|
=======
|
||||||
|
|
||||||
This sub-command launches a login shell into the container. Default is password-less
|
This sub-command launches a login shell into the container. Default is password-less root login.
|
||||||
root login.
|
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
@@ -11,6 +10,23 @@ root login.
|
|||||||
[folsom]:
|
[folsom]:
|
||||||
root@folsom:~ #
|
root@folsom:~ #
|
||||||
|
|
||||||
|
TARGET can also be a running jails JID value.
|
||||||
|
|
||||||
|
ishmael ~ # bastille list
|
||||||
|
JID IP Address Hostname Path
|
||||||
|
1 10.1.2.3 ishmael /usr/local/bastille/jails/ishmael/root
|
||||||
|
ishmael ~ # bastille console 1
|
||||||
|
[ishmael]:
|
||||||
|
root@ishmael:~ #
|
||||||
|
|
||||||
At this point you are logged in to the container and have full shell access. The
|
At this point you are logged in to the container and have full shell access. The
|
||||||
system is yours to use and/or abuse as you like. Any changes made inside the
|
system is yours to use and/or abuse as you like. Any changes made inside the
|
||||||
container are limited to the container.
|
container are limited to the container.
|
||||||
|
|
||||||
|
.. code-block:: shell
|
||||||
|
|
||||||
|
"Usage: bastille console [option(s)] TARGET [user]"
|
||||||
|
Options:
|
||||||
|
|
||||||
|
-a | --auto Auto mode. Start/stop jail(s) if required.
|
||||||
|
-x | --debug Enable debug mode.
|
||||||
|
|||||||
Reference in New Issue
Block a user