Check configuration file and notify sudo

Avoid a bad configuration to be set.