common config to root and user