Change Solaris sshd to allow root login

Although, root user shouldn’t login through root normally, incase you need to, heres how:

perl -pi -e 's,PermitRootLogin no,PermitRootLogin yes,' /etc/ssh/sshd_config
svcadm restart svc:/network/ssh:default
CategoriesUncategorized

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.