Technical Tip: How to make an access profile for a system administrator invisible when creating a new admin in a VDOM
| Description | This article shows how to use the 'mnt' feature in access profile setting to make an access profile invisible under 'Administrator profile' when a administrator try to create an new administrator in a VDOM:
config system accprofile edit <access profile name> config sysgrp-permission set mnt [none|read|read-write] end next end |
| Scope | FortiGate. |
| Solution | In order to make an access profile invisible in a different vdom, the 'mnt' setting in access profile should have less permission then the access profile that the admin is mapped to.
The permission order is as follows:
The permission order above means:
Here is an config example:
config system accprofile edit Profile-1 set sysgrp custom
config system admin set password <password>
Result: When admin Tester-A logins to the GUI, and wants to create a new administrator profile under System -> Administrator -> Create New -> Administrator, the access profile 'Profile-2' will not be visible under 'Administrator profile' since the access profile 'Profile-1', which has been set to Tester-A, has fewer permissions (set mnt none) than the access profile 'Profile-2' (set mnt read-write). |
