use sudo only if current user is not root