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:::
Recent Comments