-- login would not happen when paramater 'cmd' was missing