September 2025
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Categories

September 2025
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

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>