users: support for multiple types of privileges.
ssl: small fix to the pub key permissions.