{"id":1370,"date":"2022-02-06T01:49:08","date_gmt":"2022-02-06T01:49:08","guid":{"rendered":"\/blog\/?p=1370"},"modified":"2022-03-06T04:30:45","modified_gmt":"2022-03-06T04:30:45","slug":"enable-root-ssh-login-in-oracle-solaris-11","status":"publish","type":"post","link":"\/blog\/index.php\/enable-root-ssh-login-in-oracle-solaris-11\/","title":{"rendered":"Enable root SSH Login in Oracle Solaris 11"},"content":{"rendered":"\n<p>1.&nbsp;Change the&nbsp;file&nbsp;\/etc\/ssh\/sshd_config PermitRootLogin yes&nbsp;with&nbsp;PermitRootLogin no&nbsp;and save file.<\/p>\n\n\n\n<p><code>\u00a0\u00a0\u00a0\u00a0vi\u00a0\/etc\/ssh\/sshd_config\u00a0\u00a0<\/code><\/p>\n\n\n\n<p><code>\u00a0 PermitRootLogin yes<\/code><\/p>\n\n\n\n<p>2. Comment out the&nbsp;\u201cCONSOLE=\/dev\/console\u201d&nbsp;line in&nbsp;\/etc\/default\/login.<\/p>\n\n\n\n<p><code>\u00a0\u00a0\u00a0\u00a0vi \/etc\/default\/login<\/code><\/p>\n\n\n\n<p><code>\u00a0 #CONSOLE=\/dev\/console<\/code><\/p>\n\n\n\n<p>3.Remove&nbsp;\u201c;type=role\u201d&nbsp;from the root entry in&nbsp;\/etc\/user_attr&nbsp;or use the below command.<\/p>\n\n\n\n<p><code>\u00a0rolemod -K type=normal root<\/code><\/p>\n\n\n\n<p>4. Restart the Services.<\/p>\n\n\n\n<p><code>#svcadm restart\u00a0svc:\/network\/ssh:default<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.&nbsp;Change the&nbsp;file&nbsp;\/etc\/ssh\/sshd_config PermitRootLogin yes&nbsp;with&nbsp;PermitRootLogin no&nbsp;and save file. \u00a0\u00a0\u00a0\u00a0vi\u00a0\/etc\/ssh\/sshd_config\u00a0\u00a0 \u00a0 PermitRootLogin yes 2. Comment out the&nbsp;\u201cCONSOLE=\/dev\/console\u201d&nbsp;line in&nbsp;\/etc\/default\/login. \u00a0\u00a0\u00a0\u00a0vi \/etc\/default\/login \u00a0 #CONSOLE=\/dev\/console 3.Remove&nbsp;\u201c;type=role\u201d&nbsp;from the root entry in&nbsp;\/etc\/user_attr&nbsp;or use the below command. \u00a0rolemod -K type=normal root 4. Restart the Services. #svcadm restart\u00a0svc:\/network\/ssh:default<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1370","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1370"}],"version-history":[{"count":2,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1370\/revisions"}],"predecessor-version":[{"id":1380,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1370\/revisions\/1380"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1370"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}