November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

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>