On the problem of control for ellipsoidal motions