Various fixes

Validate input
Fix mode and group for keytab file
Make sure vas is installed