Werk #5718: omd: Improved error handling when deleting site users

Component Site management
Title omd: Improved error handling when deleting site users
Date Feb 1, 2018
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.5.0i3
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0i3
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0i3
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0i3
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0i3
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0i3
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0i3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

When deleting a Check_MK site, the whole site user including it's home directory and group is removed. Previous versions were suppressing errors occuring during deletion of the site user which could leave the site user untouched including the site group which can only be deleted when the user has been deleted.

The omd rm command will now fail with an error in case the user can not be deleted and print out the reason for this issue. After resolving it, you can then try to execute omd rm again.

To the list of all Werks