The syntax of changing a target owner in OEM 13c cloud control is :
$emcli change_target_owner -target="target_name:target_type" -owner="current_target_owner_name" -new_owner="new_owner_name"
The target_name and target_type can be gotten through :
$emctl config agent listtargets
Below example is to change the owner of a listener from “SYSMAN” to “TETSUSER”:
$ emcli login -username='sysman' Enter password Login successful $ emcli sync Synchronized successfully $ emcli change_target_owner -target="LISTENER_racnode1:oracle_listener" -owner="SYSMAN" -new_owner="TESTUSER" Changed the target(s) owner successfully.