- Managing SMB File Sharing and Windows Interoperability in Oracle Solaris 11.4
- Setting Up Identity Mapping Between Windows and Oracle Solaris Systems
- Managing Rule-Based Identity Mapping for Users and Groups
- How to Remove a User or Group Mapping Rule
How to Remove a User or Group Mapping Rule
- Become an administrator.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.
- Find the user or group mapping that you want to remove.
$ idmap list
For example, to find all user mappings that map to the Oracle Solaris user
pat
, you would type:$ idmap list | grep pat
For example, to find all unidirectional group mappings that map to the Oracle Solaris group
staff
, type:$ idmap list | grep staff
- Remove one or more mappings.
-
Remove one or more user mappings.
-
To remove any rule-based mapping that involves the specified user name, username:
$ idmap remove username
-
To remove rule-based mappings between username1 and username2:
$ idmap remove username1 username2
-
To remove all rule-based mappings:
$ idmap remove -a
-
-
Remove one or more group mappings.
-
To remove any rule-based mapping that involves the specified group name, group-name:
$ idmap remove group-name
-
To remove rule-based mappings between group-name1 and group-name2:
$ idmap remove group-name1 group-name2
-
To remove all rule-based mappings:
$ idmap remove -a
-
-