{"id":161,"date":"2016-03-31T09:37:42","date_gmt":"2016-03-31T07:37:42","guid":{"rendered":"http:\/\/www.bilisimonline.net\/?p=161"},"modified":"2016-03-31T09:38:04","modified_gmt":"2016-03-31T07:38:04","slug":"solaris-11de-root-ile-direk-oturum-nasil-acilir","status":"publish","type":"post","link":"http:\/\/www.bilisimonline.net\/index.php\/2016\/03\/31\/solaris-11de-root-ile-direk-oturum-nasil-acilir\/","title":{"rendered":"Solaris 11&#8217;de root ile direk oturum nas\u0131l a\u00e7\u0131l\u0131r"},"content":{"rendered":"<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">Bu yaz\u0131m\u0131zda Solaris 11&#8217;de ssh ve console&#8217;dan root kullan\u0131c\u0131s\u0131 ile nas\u0131l direk oturum a\u00e7abilece\u011fimizden bahsedece\u011fiz. Bildi\u011finiz gibi g\u00fcvenlik gere\u011fi root kullan\u0131c\u0131s\u0131 ile direk oturum a\u00e7amazs\u0131n\u0131z.<\/span><\/span><!--more--><\/p>\n<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">Sisteme console&#8217;dan root kullan\u0131c\u0131s\u0131 ile direk oturum a\u00e7t\u0131\u011f\u0131n\u0131zda a\u015fa\u011f\u0131daki hata ile kar\u015f\u0131la\u015f\u0131rs\u0131n\u0131z.<\/span><\/span><\/p>\n<pre><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">bilisimonline console login: root<\/span><\/span>\r\n\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">Password:<\/span><\/span>\r\n\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">Roles can not login directly<\/span><\/span><\/pre>\n<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">Root kullan\u0131c\u0131s\u0131na direk oturum a\u00e7ma izni vermek i\u00e7in \/etc\/user_attr dosyas\u0131ndaki root kullan\u0131c\u0131s\u0131n\u0131n role olan type de\u011ferini normal ile de\u011fi\u015ftirmemiz gerekmektedir.<\/span><\/span><\/p>\n<pre><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">root@bilisimonline:~# grep -i root \/etc\/user_attr<\/span><\/span>\r\n\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">root::::<b>type=role<\/b><\/span><\/span>\r\n\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">bilisimonline::::lock_after_retries=no;profiles=System Administrator;roles=root<\/span><\/span>\r\n\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">root@bilisimonline:~# rolemod -K type=normal root<\/span><\/span>\r\n\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">root@bilisimonline:~# grep -i root \/etc\/user_attr<\/span><\/span>\r\n\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">root::::<b>type=normal<\/b><\/span><\/span>\r\n\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">bilisimonline::::lock_after_retries=no;profiles=System Administrator;roles=root<\/span><\/span>\r\n\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">root@bilisimonline:~#<\/span><\/span><\/pre>\n<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">\/etc\/default\/login dosyas\u0131nda CONSOLE de\u011feri a\u015fa\u011f\u0131daki gibi olmal\u0131d\u0131r<\/span><\/span><\/p>\n<pre><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">root@bilisimonline:~# grep -i console \/etc\/default\/login<\/span><\/span>\r\n\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\"># If CONSOLE is set, root can only login on that device.<\/span><\/span>\r\n\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\"># If the specified device is \/dev\/console, then root can also log into<\/span><\/span>\r\n\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">CONSOLE=\/dev\/console<\/span><\/span><\/pre>\n<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">Root kullan\u0131c\u0131s\u0131 ssh direk oturum a\u00e7mak i\u00e7inde \/etc\/ssh\/sshd_config dosyas\u0131ndaki &#8220;PermitRootLogin&#8221; de\u011feri yes olmal\u0131d\u0131r. De\u011fer no ise de\u011fi\u015ftirip ssh servisini yeniden ba\u015flatmam\u0131z yeterli olacakt\u0131r.<\/span><\/span><\/p>\n<pre><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">root@bilisimonline:~# grep -i PermitRootLogin \/etc\/ssh\/sshd_config<\/span><\/span>\r\n\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">PermitRootLogin yes<\/span><\/span>\r\n\r\n<span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: small;\">root@bilisimonline:~# svcadm restart svc:\/network\/ssh:default<\/span><\/span><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Bu yaz\u0131m\u0131zda Solaris 11&#8217;de ssh ve console&#8217;dan root kullan\u0131c\u0131s\u0131 ile nas\u0131l direk oturum a\u00e7abilece\u011fimizden bahsedece\u011fiz. Bildi\u011finiz gibi g\u00fcvenlik gere\u011fi root kullan\u0131c\u0131s\u0131 ile direk oturum a\u00e7amazs\u0131n\u0131z.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[8,82,10],"tags":[152,147,148,149,153],"class_list":["post-161","post","type-post","status-publish","format-standard","hentry","category-os","category-isletim-sistemleri-guvenlik","category-unix","tag-how-to-allow-root-direct-login-in-solaris-11","tag-oracle-solaris-11-1","tag-oracle-solaris-11-2","tag-oracle-solaris-11-3","tag-ssh-permitrootlogin"],"jetpack_publicize_connections":[],"aioseo_notices":[],"views":2251,"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7k56R-2B","jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/posts\/161"}],"collection":[{"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/comments?post=161"}],"version-history":[{"count":4,"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/posts\/161\/revisions"}],"predecessor-version":[{"id":167,"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/posts\/161\/revisions\/167"}],"wp:attachment":[{"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/media?parent=161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/categories?post=161"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bilisimonline.net\/index.php\/wp-json\/wp\/v2\/tags?post=161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}