×

Method, device and system for logging in Unix-like virtual container

  • US 9,609,063 B2
  • Filed: 09/16/2013
  • Issued: 03/28/2017
  • Est. Priority Date: 09/17/2012
  • Status: Active Grant
First Claim
Patent Images

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

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

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

    receiving a script command through the host port, and sending the script command to the Unix-type 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-type 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-type virtual container according to the first connection.

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