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

Komponente Site management
Titel omd: Improved error handling when deleting site users
Datum 01.02.2018
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.5.0i3
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks