support both root user and non-root user in xcat mn