Uncle google isn't helping me well with this one, I'm wondering if anyone else knows this?
My Mac finder occasionally hangs when connecting to Samba shares, or hangs while connected to Samba shares, or it hangs when the share goes away and now I want to eject the share or disconnect or restart the computer or shut down the app that's using the share. Basically my problem is the same one as described here on StackExchange:
https://apple.stackexchange.com/q/385068Bouncing the Finder doesn't fix this one for me. I can fix it by rebooting the mac (if THAT doesn't hang too), but that's a hassle. I want to click an icon and make the problem go away without a reboot.
One of the responses to that question on StackExchange had my answer:
https://apple.stackexchange.com/a/390352If I run Activity Monitor and stop the process "NetAuthSysAgent" then bam, problem solved, everything instantly works again.
So I know how to do that by hand. What would the equivalent shell command be for gracefully stopping NetAuthSysAgent? I'm not sure if I can use a "kill" command for this, I'm thinking it'll be more along the lines of "launchctl unload" or something, but I'm not sure of the exact syntax.
Any ideas?