Generate salt for global password and store it in the config file.