{"id":646,"date":"2010-06-02T11:52:08","date_gmt":"2010-06-02T18:52:08","guid":{"rendered":"http:\/\/greg.porter.name\/wordpress\/?p=646"},"modified":"2010-08-02T12:03:50","modified_gmt":"2010-08-02T19:03:50","slug":"nexenta-quicktip-get-a-real-root-shell","status":"publish","type":"post","link":"https:\/\/greg.porter.name\/wordpress\/?p=646","title":{"rendered":"Nexenta QuickTip:  Get a real root shell"},"content":{"rendered":"<p>The Nexenta folks have spent a lot of energy making Nexenta &#8220;idiot-proof&#8221;.\u00a0 You really can do almost everything you need from the web based GUI.\u00a0 There&#8217;s a few more things you can do from the character based <a href=\"https:\/\/www.nexenta.com\/corp\/content\/view\/246\/119\/\">Nexenta Management Console (NMC)<\/a>.\u00a0 Sometimes, though, you may want a shell&#8230;<!--more--><\/p>\n<p>When you log in as root on a Nexenta box, you get the nmc.<\/p>\n<p>People that really like to <span style=\"text-decoration: line-through;\">break things<\/span> fiddle like an honest to goodness root shell.\u00a0 If you really want a shell, then do:<\/p>\n<pre>[glporter@workstation ~]$ ssh root@my_filer\r\nPassword:\r\nLast login: Wed Jun 2 11:34:10 2010 from workstation\r\nnmc@my_filer:\/$ option expert_mode = 1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\r\n\r\nnmc@my_filer:\/$ !bash\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\r\nYou are about to enter the Unix (\"raw\") shell\r\nand execute low-level Unix command(s).\r\nWarning: using low-level Unix commands is not\r\nrecommended! Execute?\u00a0 (y\/n) &lt;press y&gt;\r\n\r\nroot@my_filer:\/volumes# &lt;do special root-ish things here&gt;\r\nroot@my_filer:\/volumes# exit\r\nexit\r\n\r\nImportant: To re-sync the appliance's management\r\nstate information, please consider running\r\n'setup appliance nms restart' command.\r\n\r\nnmc@my_filer:\/$<\/pre>\n<p>Probably is a good idea to run &#8216;setup appliance nms restart&#8217;, seeing as they told you to&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Nexenta folks have spent a lot of energy making Nexenta &#8220;idiot-proof&#8221;.\u00a0 You really can do almost everything you need from the web based GUI.\u00a0 There&#8217;s a few more things you can do from the character based Nexenta Management Console&hellip; <a href=\"https:\/\/greg.porter.name\/wordpress\/?p=646\" class=\"more-link\">Continue Reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-646","post","type-post","status-publish","format-standard","hentry","category-content"],"_links":{"self":[{"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/646","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=646"}],"version-history":[{"count":14,"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/646\/revisions"}],"predecessor-version":[{"id":658,"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/646\/revisions\/658"}],"wp:attachment":[{"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=646"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=646"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greg.porter.name\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}