Good Afternoon!
This doc/link has helped me out ALOT over the years. Hopefully this can help you too.
http://www.cisco.com/c/en/us/support/docs/security/secure-access-control-server-windows/99361-acs-shell-auth.html
If not, let me know and ill dig for a better show and tell.
Thanks
e