Get the App
SLTechnology News&Howtos  ›  Servers  › 

Solaris 11 set up root user login

Shulou Source: shulou.com Published: 2022-06-03 09:43:07 12月06日 Update

solaris 11 setup root login

Generally speaking, after installing solaris 11, the system forbids root user to log in directly for security reasons.

If you want ssh to log in directly as root, you need to modify the configuration file:

#vi /etc/user_attr

Then change type=role to type=normal

Of course, ssh does not allow root user login by default, so you need to set ssh to allow root login.

#vi /etc/ssh/sshd_config

Modify PermitRootLogin no to PermitRootLogin yes

Restart the SSH service:

# svcadm restart ssh

Next time you can log in as root with ssh

Tags: Login user security generally speaking files systems services configuration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Microsoft Shulou Technology vpn OPPO Reno