Information
EOS can be configured to allow logging in as root directly by using the aaa root secret config command. This should be not be enabled. An authenticated, authorized user can obtain superuser access after logging in by accessing the bash shell if permitted.
Allowing remote root login bypasses the EOS cli and gives direct access to the bash shell.
Solution
Reset to default value
switch(config)#default aaa root