niutil script

syounker

Registered
A couple of my users have an issue where they can't log in to their computer, the login window shakes them off. My users are bound to Active Directory, but their accounts are not locked or waiting on a password change.

When I log in as admin and run NetInfo Manager their account under /Users has duplicated or triplicated. If I delete the accounts with the authentication_authority DisabledUser the user can then log in to the account. I'l like a script that can run in the background that uses niutil to delete any users that are disabled.

Is this possible? Any tips, as I'm not much of a scripter.

Thanks
 
Back
Top