Zum Inhalt springen

Nexenta Stor: Change default password for webdav user

Just pokin’ around with the community edition of nexenta store – a fully featured storage appliance based on open solaris. For a full feature list please see more details here.

Currently i’m searching a new NAS to supersede my FreeNAS 7 installation. Unfortunately FreeNAS in it’s current release lacks of some features i liked in V7 – for me the signal to a take a look at Nexenta Stor.

A very handy feature is its possibility to share folders via webdav – BUT: access control is based on a built in user “webdav” with the standard password “nexenta”.  Making this config available to the internet…. bad idea….

AFAIK there’s no way to change anything acording to webdav-usermanagment neither in the webgui, nor the nms-cli.  Luckily there’s a way to get a real root shell on the nexenta system where you can use good ol’ htpasswd to change and/or add users to the webdav-authentication:

SSH to your nexenta box:

nmc@nexenta:/$ option expert_mode = 1

nmc@nexenta:/$ !bash

You are about to enter the Unix (“raw”) shell and execute low-level Unix command(s). Warning: using low-level Unix commands is not recommended! Execute? Yes

root@nexenta:/volumes# htpasswd  /var/lib/nza/.webdav_passwd webdav

New password:

Re-type new password:

Updating password for user webdav

root@nexenta:/volumes# exit

exit

Important: To re-sync the appliance’s management state information, please

consider running ‘setup appliance nms restart’ command.

nmc@nexenta:/$

Btw: htdigest works as well this way :-)