/etc/default/login CONSOLE=/dev/console entry has no effect on ssh root login
According to the Orcale Solaris 11.1 docs:-http://docs.oracle.com/cd/E26502_01/html/E29015/secsys-37.html#secsys-23
ssh root access is controlled by the /etc/default/login entry
CONSOLE=/dev/console
This does not seem to be the case. It is the /etc/ssh/sshd_config entry:-
PermitRootLogin yes
or
PermitRootLogin no
which controls root logins via ssh. Strangely, this does not get a mention in this section of the Oracle docs.
I'm sure it must be in the ssh doc section, but I have not looked.
The /etc/default/login CONSOLE entry does not seem to have any effect at all in this context.
ssh root access is controlled by the /etc/default/login entry
CONSOLE=/dev/console
This does not seem to be the case. It is the /etc/ssh/sshd_config entry:-
PermitRootLogin yes
or
PermitRootLogin no
which controls root logins via ssh. Strangely, this does not get a mention in this section of the Oracle docs.
I'm sure it must be in the ssh doc section, but I have not looked.
The /etc/default/login CONSOLE entry does not seem to have any effect at all in this context.
0