{"id":458,"date":"2011-12-19T00:47:42","date_gmt":"2011-12-18T22:47:42","guid":{"rendered":"https:\/\/www.boettrich.info\/blog\/?p=458"},"modified":"2012-05-17T09:25:57","modified_gmt":"2012-05-17T07:25:57","slug":"nexenta-stor-change-default-password-for-webdav-user","status":"publish","type":"post","link":"https:\/\/www.boettrich.info\/blog\/technik\/nexenta-stor-change-default-password-for-webdav-user\/","title":{"rendered":"Nexenta Stor: Change default password for webdav user"},"content":{"rendered":"<p>Just pokin&#8216; around with the community edition of nexenta store &#8211; a fully featured storage appliance based on open solaris. For a full feature list please see more details <a href=\"http:\/\/nexenta.com\/corp\/nexentastor\">here<\/a>.<\/p>\n<p>Currently i&#8217;m searching a new NAS to supersede my FreeNAS 7 installation. Unfortunately FreeNAS in it&#8217;s current release lacks of some features i liked in V7 &#8211; for me the signal to a take a look at Nexenta Stor.<\/p>\n<p>A very handy feature is its possibility to share folders via webdav &#8211; BUT: access control is based on a built in user &#8222;webdav&#8220; with the standard password &#8222;nexenta&#8220;.\u00a0 Making this config available to the internet&#8230;. bad idea&#8230;.<\/p>\n<p>AFAIK there&#8217;s no way to change anything acording to webdav-usermanagment neither in the webgui, nor the nms-cli.\u00a0 Luckily there&#8217;s a way to get a real root shell on the nexenta system where you can use good ol&#8216; htpasswd to change and\/or add users to the webdav-authentication:<\/p>\n<p>SSH to your nexenta box:<\/p>\n<blockquote><p>nmc@nexenta:\/$ option expert_mode = 1<\/p>\n<p>nmc@nexenta:\/$ !bash<\/p>\n<p>You are about to enter the Unix (&#8222;raw&#8220;) shell and execute low-level Unix command(s). Warning: using low-level Unix commands is not recommended! Execute? Yes<\/p>\n<p>root@nexenta:\/volumes# htpasswd\u00a0 \/var\/lib\/nza\/.webdav_passwd webdav<\/p>\n<p>New password:<\/p>\n<p>Re-type new password:<\/p>\n<p>Updating password for user webdav<\/p>\n<p>root@nexenta:\/volumes# exit<\/p>\n<p>exit<\/p>\n<p>Important: To re-sync the appliance&#8217;s management state information, please<\/p>\n<p>consider running &#8217;setup appliance nms restart&#8216; command.<\/p>\n<p>nmc@nexenta:\/$<\/p>\n<\/blockquote>\n<p>Btw: htdigest works as well this way :-)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just pokin&#8216; around with the community edition of nexenta store &#8211; a fully featured storage appliance based on open solaris. For a full feature list please see more details here. Currently i&#8217;m searching a new NAS to supersede my FreeNAS 7 installation. Unfortunately FreeNAS in it&#8217;s current release lacks of some features i liked in&hellip;&nbsp;<a href=\"https:\/\/www.boettrich.info\/blog\/technik\/nexenta-stor-change-default-password-for-webdav-user\/\" rel=\"bookmark\">Weiterlesen &raquo;<span class=\"screen-reader-text\">Nexenta Stor: Change default password for webdav user<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[10,6],"tags":[],"class_list":["post-458","post","type-post","status-publish","format-standard","hentry","category-netzwerk","category-technik"],"_links":{"self":[{"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/posts\/458","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/comments?post=458"}],"version-history":[{"count":14,"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/posts\/458\/revisions"}],"predecessor-version":[{"id":541,"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/posts\/458\/revisions\/541"}],"wp:attachment":[{"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/media?parent=458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/categories?post=458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.boettrich.info\/blog\/wp-json\/wp\/v2\/tags?post=458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}