Can I run a shell command after an authentication session?