Score:-1

How can I reset share passwords for WD Sharespace using root in SSH?

us flag

I have a Western Digital ShareSpace Disk Array NAS (Same one in this manual : https://docs.rs-online.com/49a1/0900766b80ce7e97.pdf )

The system has an existing number of shares, with a lot of files and data. Each share was created through the web interface of the NAS and each has its own username and password.

I am able to login to the NAS SSH interface (as root) and when I run the command

less /etc/passwd

I can see the share usernames listed. I have the ability to change the password for any of them using

passwd [any_share_username_here]

and the change is done. But when I try to mount the share from Windows, I am prompted to enter the username and password. The new password I entered in SSH does not seem to work.

I guess the NAS has a separate credentials for accessing the share, and a different password for SSH.

Is there a way (from SSH) to alter or remove the password or create a new share the is can be exposed to Windows?

Can I reset the admin password used to login to the web interface?

EDIT: just to clarify: I already have access to the share volumes from SSH, and I can browse all of the data. I just need to be able to map to the volumes from Windows, but I can't because I don't reset the password without the web interface.

djdomi avatar
za flag
remind to verify, that some of old stations support smb v1 only which is disabled thesedays. moreover dont try to use special characaters and use as example 8 characters
Score:2
in flag

For samba users the password is changed with smbpasswd.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.