now using rootuser instead of sudouser to write hash files