FAQs
En anglais
Oracle Micros
WordPress
Windows 11
Windows 10
Windows Server
Mac OS
Posted
by
webmaster
on
26 March 2021
You can use Terminal command for Directory Services to Delete a User Account
Type the following command to list all users.
$ sudo dscl . list /Users
With the account name confirmed, type the following command in the Terminal to delete the account directory entry from your system:
$ sudo dscl . -delete /Users/Account_name
In this command, replace the word “Account_name” with the account name you found and confirmed in above step.After the account is deleted, the user’s home folder will still be on the disk in the /Macintosh HD/Users directory. At this point you can simply delete the directory to fully remove all items that were associated with the removed account.
Category:
Mac OS
Tags:
delete user,
macos