Hi!
I work in a school where we have over 50 iMacs. We have children from all classes accessing these iMacs. The iMacs are linked to the Active Directory and children log in with their AD credentials. A new account is setup for every child that logs in. This can be a bit cumbersome, especially if there are various children logging in (an more than 20 profiles/user accounts being created on every machine).
I want to be able to delete all traces of users and user accounts from the iMacs except the local, shared, and guest account.
Ideally, i would like to automate this process as well at any particular time etc...
I am pretty new to networking and using terminal commands on Macs.
Thanks.
Note: all iMacs are running macOS Sierra
I work in a school where we have over 50 iMacs. We have children from all classes accessing these iMacs. The iMacs are linked to the Active Directory and children log in with their AD credentials. A new account is setup for every child that logs in. This can be a bit cumbersome, especially if there are various children logging in (an more than 20 profiles/user accounts being created on every machine).
I want to be able to delete all traces of users and user accounts from the iMacs except the local, shared, and guest account.
Ideally, i would like to automate this process as well at any particular time etc...
I am pretty new to networking and using terminal commands on Macs.
Thanks.
Note: all iMacs are running macOS Sierra
Last edited: