October 2025
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Categories

October 2025
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Root login on Oracle Solaris 11

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 ]
      #CONSOLE=/dev/console
3. Remove “;type=role” from the root entry in /etc/user_attr
                     or
         use the below command
       #rolemod -K type=normal root
4.  Restart service
       #svcadm restart svc:/network/ssh:default

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>