Wednesday, 1 February 2012

Enable SSH login for root in Solaris

For the Local Console Login:

Edit  /etc/default/login file and commented the line:

# If CONSOLE is set, root can only login on that device.
# Comment this line out to allow remote login by root.

For the SSH(Putty) Login:

edit your /etc/ssh/sshd_config
there is a line:
PermitRootLogin no
set the value to yes and then:

pkill -HUP sshd

Below step could be used in Solaris 11

rolemod -K type=normal root

No comments: