If you need to disable a user account on a Mac, there are a few different ways to go about it. The first way is to use the Accounts preferences in System Preferences. To do this, open System Preferences and click on the Accounts icon. From here, you can select the user you want to disable and click on the “Disable Account” button. If you want to disable all user accounts on your Mac, you can use the Terminal app. To do this, open Terminal and type sudo shutdown -h now. This will shutdown your Mac completely and disable all user accounts. ..
Open System Preferences and select the “Accounts” menu. Select the user account you want to disable, then click “Disable Account” in the bottom left corner of the window. Enter your password and click “OK” to confirm that you want to disable the account.