0% found this document useful (0 votes)
976 views1 page

SSH Root Access in Solaris 11

This document provides instructions for enabling SSH login for the root user in Oracle Solaris 11. It involves changing the sshd_config file to set PermitRootLogin to yes, commenting out the CONSOLE line in the login file, removing the type attribute from the root user entry or using rolemod to set the type to normal, and restarting the SSH service. Following these steps allows logging in remotely as the root user via SSH.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
976 views1 page

SSH Root Access in Solaris 11

This document provides instructions for enabling SSH login for the root user in Oracle Solaris 11. It involves changing the sshd_config file to set PermitRootLogin to yes, commenting out the CONSOLE line in the login file, removing the type attribute from the root user entry or using rolemod to set the type to normal, and restarting the SSH service. Following these steps allows logging in remotely as the root user via SSH.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Permit SSH Login for Root in Oracle Solaris 11

Open Terminal window and switch to root user.

1. Change the file /etc/ssh/sshd_config PermitRootLogin yes with


PermitRootLogin no and save file.
vi /etc/ssh/sshd_config
PermitRootLogin yes
2. Comment out the CONSOLE=/dev/console line in /etc/default/login.
vi /etc/default/login
#CONSOLE=/dev/console
[Link] ;type=role from the root entry in /etc/user_attr or use the below
command.
rolemod -K type=normal root
4. Restart the Services.
#svcadm restart svc:/network/ssh:default
[Link] SSH connection using root user You should be able to connect.

You might also like