Enabling Remote root login Solaris 10.
It is neither recommended nor suggested to allow remote root logins for security reasons.
This will enable remote root logins to the system.
Second:
/etc/ssh/sshd_config
Comment the following line in /etc/ssh/sshd_config by putting a # sign before the line.
Then add the following line just below the above line.
This will enable remote SSH and SCP Logins to the system.
For Test servers, Non-production servers or other servers, you may want to allow remote root login via SSH.
Usually you get "Access denied" errors when accessing a Solaris server as root when logging on remotely.
Usually you get "Access denied" errors when accessing a Solaris server as root when logging on remotely.
You just have to edit two entries in two files.
First:
/etc/default/login
Comment the following line in /etc/default/login by putting a # sign before the line.
CONSOLE=/dev/console
This will enable remote root logins to the system.
Second:
/etc/ssh/sshd_config
Comment the following line in /etc/ssh/sshd_config by putting a # sign before the line.
PermitRootLogin no
Then add the following line just below the above line.
PermitRootLogin yes
This will enable remote SSH and SCP Logins to the system.
Labels: Misc, Networking, Security, Solaris, SSH, UNIX/Linux
