April 2025
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
282930  

Categories

April 2025
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
282930  

Solaris 11 direct root login access

This will be helpful for those wants to have direct root login locally and via SSH

Comment out the “CONSOLE=/dev/console” line in /etc/default/login.

Modify PermitRootLogin to yes in /etc/ssh/sshd_config

Remove “:type=role” from the root entry in /etc/user_attr

Remove highlighted part

root::::type=role
root:::

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>