If you need to disable an OS user account, you can expire the account using
usermod --expiredate 1. For example, to disable the account for user
sudo usermod --expiredate 1 tom
For more information, please see
man passwd and
If you need to disable a SSO (Sguil/Squert/Kibana) account, you can use the
If you later need to re-enable this SSO account, you can use the
so-user-passwd command to reset the password which will automatically re-enable the account.