Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Solaris 11 set up root user login

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 289

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report