Tuesday 25 June 2013

Root login on Oracle Solaris 11 / OpenIndiana - 151

Once after your installation is completed, you will not be able to login directly to the console as the user "root".

user root should be assigned role as a normal user.

Below are the very few steps to enable root login.

1. #vim /etc/ssh/sshd_config [ change parameter to yes ]
      PermitRootLogin yes

2. #vim /etc/default/login  [ Comment the below line ]

3. Remove ";type=role" from the root entry in /etc/user_attr 
         use the below command
       #rolemod -K type=normal root

4.  Restart service 
       #svcadm restart svc:/network/ssh:default

No comments:

Post a Comment