Change TOS Web password from SSH

Permissions, domain/LDAP, power, security, notification and more.
Locked
User avatar
kkjiff
Posts: 1
Joined: 08 Apr 2021, 22:58

Change TOS Web password from SSH

Post by kkjiff »

My web password stopped working, I was able to get ssh access by modifying the shadow passwd file. I have changed the entry in the password file for the user "admin", however that does not allow me to login with that password on the web interface. I also saw once that the hash in the shadow file for admin changed from what I set it to. Anyone know how to set a web password from ssh root?
User avatar
TMSupport
TerraMaster Team
Posts: 2314
Joined: 13 Dec 2019, 15:15

Re: Change TOS Web password from SSH

Post by TMSupport »

The password of admin could not be changed by SSH access.
What do you mean it's not working for TOS web? If you can SSH access with this password, it should be working to for TOS login.

Anyway, if you cannot login to TOS with this password, you can reinstall the TOS to reset it:
Please be advised the TOS reinstallation would not erase your data unless you encounter B below.

Power off the NAS, take out the HDD’s, power on the NAS.
Search the NAS IP address by the TNAS PC App, click on the located IP address and click "Login"
When it says no HDD detected, keep the NAS powered on and install your HDD
Next
When it asks if you’d like to install TOS already in the HDD or install new TOS, please select “Install new TOS”. And here there is a message saying the data in the hard drives would be lost, please ignore it, your data won’t be lost by confirming “Yes” to proceed here.
Next
Auto download and install TOS system (recommended)
Set your password and time zone

After that, there are two possibilities:
A. You may be directed to the log in page, please go ahead to log in.

B. You may be directed to the RAID creating page, please STOP here and close the window immediately. Please get back to us, and we will need to remote-in to check.

After the TOS reinstallation, to ensure you can see the data in your hard drives, please check the following:

1. Please ensure the admin user has the R/W permission to the shared folders.
Please go to TOS Control Panel – Privileges – User – select the user and Edit – Permission

2. Please ensure the shared folder’s R/W permission is authorized to the user:
Please go to TOS Control Panel – Privileges – Shared Folder – select the shared folder and Edit – please check in User permission and Group permission accordingly.

3. If you are still unable to see the data, please go to TOS Control Panel – Privileges – Shared Folder – Advanced – Restore to
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Locked