Check configuration file and notify sudo

Avoid a bad configuration to be set.
Merge pull request #37 from mremy/check_new_config_then_notify

Check configuration file and notify sudo