×

METHOD, DEVICE AND SYSTEM FOR LOGGING IN UNIX-LIKE VIRTUAL CONTAINER

  • US 20150244811A1
  • Filed: 09/16/2013
  • Published: 08/27/2015
  • Est. Priority Date: 09/17/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method for logging in a Unix-like virtual container, comprising:

  • establishing a corresponding relationship between a Unix-like virtual container and a port on a host running the Unix-like virtual container;

    establishing a transparent pipe between the Unix-like virtual container and the host port based on the corresponding relationship, and establishing a first connection between the Unix-like virtual container and the host port based on the transparent pipe; and

    receiving a script command through the host port, and sending the script command to the Unix-like virtual container according to the first connection;

    wherein after receiving the script command through the host port and before sending the script command to the Unix-like virtual container, the method further comprises;

    partitioning the script command according to a preset marker and performing symbol extension to the partitioned script command to obtain a symbol-extended script command;

    determining whether the symbol-extended script command is included in a preset script command whitelist; and

    in response to determining that the symbol-extended script command is included in the preset script command whitelist, sending the symbol-extended script command to the Unix-like virtual container according to the first connection.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×