Updated on 2024-06-12 GMT+08:00

Customizing OS Types

CBH manages resource system types and allows you to define custom operating system (OS) types.

CBH can manage 14 OS types by default.

Constraints

  • Only system administrator admin can modify the OS type configuration.
  • The default OS type cannot be deleted or modified. Only the customized OS types can be deleted or modified.

Customizing OS Types

  1. Log in to the CBH system.
  2. Choose Resource > OS Type to switch to the OS type list page.
  3. Click New to switch to the New OS Type dialog box and configure parameters.

    Table 1 Parameters for creating an OS type

    Parameter

    Description

    OS Type

    Specifies the name of the custom OS type.

    Chpw Param

    Specifies the command of changing the account password and its return value. A maximum of 16 commands can be added.

    • password indicates the old password.
    • new_password indicates the new password.
    • change_user indicates the account whose password needs to be changed.
    • Brackets are not allowed.

    Chpw Param for Sudo Login

    Specifies the command of obtaining the permission for changing the account password and its success return. A maximum of 16 commands can be added.

    • password indicates the old password.
    • new_password indicates the new password.
    • Brackets are not allowed.

    Remarks

    Provides brief introduction about the OS type.

  4. Click OK. The newly created OS type will be displayed in the OS type list.
  5. Manage customized OS types.

Other Operations

  1. Log in to the CBH system.
  2. Choose Resource > OS Type to switch to the OS type list page.
  3. Delete a customized OS type.

    • To delete an OS type, click Delete in the Operation column of the row where the OS type locates.
    • To delete multiple OS types, select the ones you want to delete and click Delete at the bottom of the OS type list to delete them together.

  4. View and edit the customized OS type configurations.

    1. Click the name of the OS type you want to edit or click Manage in the row of the OS type in the Operation column.
    2. Click Edit in the Basic Info area to edit the basic information of the OS type.