{"id":677,"date":"2016-11-14T09:02:20","date_gmt":"2016-11-14T08:02:20","guid":{"rendered":""},"modified":"2018-10-30T23:03:30","modified_gmt":"2018-10-30T22:03:30","slug":"freenas-login-user-and-switch-root","status":"publish","type":"post","link":"https:\/\/nil.uniza.sk\/en\/freenas-login-user-and-switch-root\/","title":{"rendered":"FreeNAS &#8211; Login as user and switch to root"},"content":{"rendered":"<p>\n\tIf an user which is loged in to his FreeNAS server over ssh and which is then trying to login as a root typing &quot;su -&quot; command gets<\/p>\n<pre>\r\npalo@PS ~\/Documents\/OneDrive $ ssh palo@192.168.1.5\r\npalo@192.168.10.7&#39;s password:\r\nLast login: Sat Nov 12 09:12:00 2016 from 10.0.0.17\r\nFreeBSD 10.3-STABLE (FreeNAS.amd64) #0 r295946+07c41cd(9.10-STABLE): Wed Nov  9 00:19:25 UTC 2016\r\n\r\n    FreeNAS (c) 2009-2016, The FreeNAS Development Team\r\n    All rights reserved.\r\n    FreeNAS is released under the modified BSD license.\r\n\r\n    For more information, documentation, help or support, go here:\r\n     http:\/\/freenas.org\r\n\r\n[palo@freenas] \/% su -\r\nsu: Sorry\r\n<\/pre>\n<p>\n\tThis mean he is unable to get into the root account. Be able to login as the root that user have to be added into the &quot;<strong>wheel<\/strong>&quot; group. Than it works<\/p>\n<pre>\r\n[palo@freenas] \/% su -\r\nPassword:\r\n[root@freenas] ~#<\/pre>\n<p>\n\t&nbsp;<\/p>\n<p>\n\t&nbsp;<\/p>\n<div style=\"position: absolute; top: 258px; width: 1px; height: 1px; overflow: hidden; left: -1000px;\">\n\t&nbsp;<\/div>","protected":false},"excerpt":{"rendered":"<p>\n\tIf an user which is loged in to his FreeNAS server over ssh and which is then trying to login as a root typing &quot;su -&quot; command gets<\/p>","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[685],"tags":[],"class_list":["post-677","post","type-post","status-publish","format-standard","hentry","category-linux_-_howto-en"],"taxonomy_info":{"category":[{"value":685,"label":"Linux - HOWTO"}]},"featured_image_src_large":false,"author_info":{"display_name":"admin","author_link":"https:\/\/nil.uniza.sk\/en\/author\/admin\/"},"comment_info":4,"category_info":[{"term_id":685,"name":"Linux - HOWTO","slug":"linux_-_howto-en","term_group":0,"term_taxonomy_id":683,"taxonomy":"category","description":"","parent":0,"count":71,"filter":"raw","cat_ID":685,"category_count":71,"category_description":"","cat_name":"Linux - HOWTO","category_nicename":"linux_-_howto-en","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/677","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/comments?post=677"}],"version-history":[{"count":0,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/677\/revisions"}],"wp:attachment":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/media?parent=677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/categories?post=677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/tags?post=677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}