solaris 11 enable root ssh

vi /etc/ssh/sshd_config
PermitRootLogin yes

vi /etc/default/login

#Remove “;type=role” from the root entry in /etc/user_attr like this:
usermod -K type=normal root

svcadm restart svc:/network/ssh:default

Now we are in:

Last login: Tue Jun 16 11:05:14 2015
Oracle Corporation SunOS 5.11 11.2 June 2014

Views All Time
Views All Time
Views Today
Views Today

Leave a Reply

Your email address will not be published. Required fields are marked *