Configure a company name for the SSH and interactive logon disclaimer

Configure a company name for the SSH and interactive logon disclaimer

On an SSH and interactive logon to the MCP VCP nodes, a security disclaimer displays. The disclaimer states that an unauthorized access to or misuse of a computer system is prohibited under the Computer Misuse Act 1990.

Note

The act is designed to protect computer users against wilful attacks and theft of information. The act makes it an offence to access or even attempt to access a computer system without the appropriate authorization. Therefore, if a hacker makes even unsuccessful attempts to get into a system, they can be prosecuted using this law.

This section provides an instruction on how to configure the company name managing the computer from which the operator is required to have authorization before proceeding.

To configure the company name in the logon disclaimer:

  1. Log in to the Salt Master node.

  2. Configure the company name for the SSH logon by specifying the company name in the classes/cluster/<cluster_name>/openssh/server/single.yml file in your Reclass model:

    classes:
    - service.openssh.server
    - service.openssh.server.cis
    
    parameters:
      _param:
        ssh_banner_company_name: COMPANY_NAME
    
  3. Configure the company name for the interactive logon by specifying the company name in the classes/cluster/<cluster_name>/linux/system/banner.yml file in your Reclass model:

    parameters:
      _param:
        banner_company_name: COMPANY_NAME_HERE
    
  4. Apply the changes:

    salt -C 'I@salt:control' state.sls openssh.server.service linux.system
    

Now, the logon disclaimer should display the configured company name.