ALLOWING COMMAND SESSION FROM A GUEST OPERATING ENVIRONMENT
The present disclosure relates generally to computer architecture and infrastructure for guest operating systems executing on a host operating system. A method of allowing command sessions in a guest operating system includes receiving, by a host operating system, a request to invoke a command session by a guest operating system; receiving, by the host operating system, a request to invoke a bash interceptor; and loading bash code into a secure sandbox on the host operating system.
1 . A method of allowing command sessions in a guest operating system, the method comprising:
receiving, by a host operating system, a request to invoke a command session by a guest operating system;
receiving, by the host operating system, a request to invoke a bash interceptor; and
loading bash code into a secure sandbox on the host operating system.
2 . The method of claim 1 , wherein receiving a request to invoke a bash interceptor is in a first protocol.
3 . The method of claim 2 , wherein loading bash code includes loading bash code into a secure sandbox having a second protocol.
4 . The method of claim 3 , further comprising converting the first protocol received from the guest operating system to the second protocol for execution in the secure sandbox.
5 . The method of claim 4 , wherein converting includes converting a block protocol received from the guest operating system to a stream protocol for execution in the secure sandbox.
6 . The method of claim 4 , further comprising converting the second protocol to the first protocol for return to the guest operating system.
7 . The method of claim 6 , further comprising converting form a stream protocol to a block protocol information to be returned to the guest operating system.
8 . The method of claim 7 , wherein the information to be returned can include cursor positioning, blinking or highlighting text, enforcing protected and non-protected sections of the screen, text color, font, font size, tab stops and other field control character controls and data.
9 . The method of claim 1 , wherein receiving a request to invoke a command session includes receiving a request to invoke a command session by a guest operating system through a secure tunnel.
10 . The method of claim 9 , wherein receiving a request to invoke a command session includes receiving a request to invoke a command session by a guest operating system through a secure tunnel having loop back networking.
11 . A computer program product for allowing command sessions in a guest operating system, the method comprising:
a non-transitory computer-readable medium comprising a set of instructions that when executed by a programmable computing device causes the computing device to implement a method for configuring a set of network devices, the method comprising:
receiving, by a host operating system, a request to invoke a command session by a guest operating system;
receiving, by the host operating system, a request to invoke a bash interceptor; and
loading bash code into a secure sandbox on the host operating system.
12 . The computer program product of claim 11 , wherein receiving a request to invoke a bash interceptor is in a first protocol.
13 . The computer program product of claim 12 , wherein loading bash code includes loading bash code into a secure sandbox having a second protocol.
14 . The computer program product of claim 13 , further comprising converting the first protocol received from the guest operating system to the second protocol for execution in the secure sandbox.
15 . The computer program product of claim 14 , wherein converting includes converting a block protocol received from the guest operating system to a stream protocol for execution in the secure sandbox.
16 . The computer program product of claim 14 , further comprising converting the second protocol to the first protocol for return to the guest operating system.
17 . The computer program product of claim 16 , further comprising converting form a stream protocol to a block protocol information to be returned to the guest operating system.
18 . The computer program product of claim 17 , wherein the information to be returned can include cursor positioning, blinking or highlighting text, enforcing protected and non-protected sections of the screen, text color, font, font size, tab stops and other field control character controls and data.
19 . The computer program product of claim 11 , wherein receiving a request to invoke a command session includes receiving a request to invoke a command session by a guest operating system through a secure tunnel.
20 . The computer program product of claim 19 , wherein receiving a request to invoke a command session includes receiving a request to invoke a command session by a guest operating system through a secure tunnel having loop back networking.