{"id":6044,"date":"2016-07-14T11:47:08","date_gmt":"2016-07-14T03:47:08","guid":{"rendered":"http:\/\/rmohan.com\/?p=6044"},"modified":"2016-07-14T11:55:40","modified_gmt":"2016-07-14T03:55:40","slug":"enabling-remote-root-login-solaris-10","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=6044","title":{"rendered":"Enabling Remote root login Solaris 10."},"content":{"rendered":"<p><strong>Enabling Remote root login Solaris 10.<\/strong><\/p>\n<p>It is neither recommended nor suggested to allow remote root logins for security reasons.<br \/>\nFor Test servers, Non-production servers or other servers, you may want to allow remote root login via SSH.<\/p>\n<p>Usually you get &#8220;Access denied&#8221; errors when accessing a Solaris server as root when logging on remotely.<\/p>\n<p>You just have to edit two entries in two files.<\/p>\n<p>First:<br \/>\n\/etc\/default\/login<\/p>\n<p>Comment the following line in \/etc\/default\/login by putting a # sign before the line.<\/p>\n<p> CONSOLE=\/dev\/console  <\/p>\n<p>This will enable remote root logins to the system.<\/p>\n<p>Second:<br \/>\n\/etc\/ssh\/sshd_config<\/p>\n<p>Comment the following line in \/etc\/ssh\/sshd_config by putting a # sign before the line.<\/p>\n<p>  PermitRootLogin no  <\/p>\n<p>Then add the following line just below the above line.<\/p>\n<p>  PermitRootLogin yes  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Enabling Remote root login Solaris 10.<\/p>\n<p>It is neither recommended nor suggested to allow remote root logins for security reasons. For Test servers, Non-production servers or other servers, you may want to allow remote root login via SSH.<\/p>\n<p>Usually you get &#8220;Access denied&#8221; errors when accessing a Solaris server as root when logging on remotely.<\/p>\n<p> [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6044"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6044"}],"version-history":[{"count":2,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6044\/revisions"}],"predecessor-version":[{"id":6046,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6044\/revisions\/6046"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6044"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6044"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6044"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}