Disabling Accounts¶
OS¶
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 tom
:
sudo usermod --expiredate 1 tom
For more information, please see man passwd
and man usermod
.
SOC & TheHive & Fleet - CLI¶
If you need to disable an account in Security Onion Console (SOC), TheHive, and Fleet, you can use the so-user-diasable
command and specify the user’s email address. For example, to disable the account for tom@example.com
:
sudo so-user-disable tom@example.com