But then isnt this an issue with Sudo's grace period (ie should it be tied down to that terminal process calling it and not other ones?)
I suspect that since the dash runs as the user, it's sharing the same tty somehow. It seems to work regardless of where I authenticate.
2. The default grace period configuration in OSX is somewhat insecure