Customizing OS Types
A bastion host can manage resource OS types and allows you to define custom operating system (OS) types.
A bastion host can manage 14 OS types by default, including Linux, Windows, Cisco, Huawei, H3C, DPtech, Ruijie, Digital China sm-s-g 10-600, Digital China sm-d-d 10-600, ZTE, ZTE5950-52tm, Surfilter, and ChangAn.
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
- Log in to your bastion host.
- Choose Resource > OS Type to switch to the OS type list page.
- 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.
- Click OK. The newly created OS type will be displayed in the OS type list.
- Manage customized OS types.
Other Operations
- Log in to your bastion host.
- Choose Resource > OS Type to switch to the OS type list page.
- 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.
- View and edit the customized OS type configurations.
- 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.
- Click Edit in the Basic Info area to edit the basic information of the OS type.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot