NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
dtarin
Sep 14, 2023Luminary
Remove readycloud users
I have a few ReadyCloud users remaining on my 516 system. The readycloud service has now shut down so how do I remove the unused users?
dottrix
Jun 06, 2025Initiate
I think I figured out how to remove the ReadyCloud users from a Neatgear ReadyNAS on version 6.10.10.
I was upgrading from an old ReadyNAS 314 (2TBx4) to an newer-old ReadyNAS Pro 6 (3TBx6)
I did a configuration backup from the RN314 and restored to the Pro6, then backed up the configuration on the Pro 6, and inspected the differences.
Both NAS systems are on firmware v6.10.10. I expect that the commands should be functional in 6.10.x. Importing the configuration to the Pro 6 did not import the ReadyCloud users or permissions. That helped with the comparison. After migrating all of my data to the Pro 6, I then started poking around the RN314 to see if I could figure out how to remove the ReadyCloud users from the system.
I do believe that this is a superficial cleanup that doesn't really NEED to be done, but, if you're like me, you just want it to be clean and simple. Here is how I did that.
*
Disclaimer: Make sure you have a good backup of your configuration and your data before doing this process. [System] > Settings > Configuration Backup >Download - Everything > [Download Configuration Archive].
While I am confident that these commands should work, you assume the full responsibility for any errors or issues that may occur. Use at your own risk.
*
First, confirm that none of your internal users have an email address as their username. [Accounts] > Users > NAME should not contain any '@' signs.
If you are using email addresses AS usernames, then you may have to manually run the commands,adjusting them to search only for the list of ReadyCloud users you want to delete.
*
Steps with descriptions. (batch of commands listed at the bottom)
- Enable SSH on ReadyNAS [System] > Settings > SSH > Checkmark Enable SSH & Enable password authentication > [Apply]
- Use Putty/etc. to SSH into the Name or IP of the ReadyNAS
- Logon as user : root
- Password should be the same as the admin account. (Or login as admin, then 'su' into root, with the same password.)
- This command will remove the ReadyCloud users from being listed in the [Shares] section and in the Folder Permissions.
- mv /opt/readycloud/etc/registration.conf /opt/readycloud/etc/registration_tmp.conf
- Remove the Invalid user line from the shares. Note: May not be necessary, but it does clean it up.
- sed -i.bak '/^[[:space:]]*invalid user/d' /etc/frontview/samba/Shares.conf
- Set every ReadyCloud user to #-comment.
- sed -i.bak '/^#/!s/^/#/' /etc/frontview/samba/usermap.conf
- - OR - Remove any line that contains an '@' since it is a ReadyCloud Username
- sed -i.bak '/[@]/d' /etc/frontview/samba/usermap.conf
- Remove the Invalid user line from the samba share configs. Note: May not be necessary, but it does clean it up.
- find /data/._share -type f -name samba.conf -exec sed -i.bak '/^[[:space:]]*invalid users/d' {} +
- Removes the ReadyCloud users with the user name as an email address.
- sed -i.bak '/@/d' /etc/samba/smbpasswd
- Removes ReadyCloud users from the passwd file. - Remove all lines with email @ before the first :
- sed -i.bak '/^[^:]*@[^:]*:/d' /etc/passwd
- Removes ReadyCloud users from the shadow file. - Remove all lines with email @ before the first :
- sed -i.bak '/^[^:]*@[^:]*:/d' /etc/shadow
- Finally Reboot the ReadyNAS, from SSH or from the Admin page.
- ssh command: reboot
After the steps are complete, and you confirm everything works, make sure to turn SSH back off in the Admin settings.
If the ReadyCloud user was an owner of a file or folder, then you may need to take ownership of those files manually in file explorer, or by resetting the permissions in the share settings.
___
Note: For each file, you can run 'cat [filename]' to see what it contains, then run the sed command without the '-i.bak' to see what it will do.
Example:
- cat /etc/passwd
- sed '/^[^:]*@[^:]*:/d' /etc/passwd
Make sure that the only users missing from the 'sed' list are the ReadyCloud users.
___
Batch of Commands:
SSH into ReadyNAS and login as root.
___
mv /opt/readycloud/etc/registration.conf /opt/readycloud/etc/registration_tmp.conf
sed -i.bak '/^[[:space:]]*invalid user/d' /etc/frontview/samba/Shares.conf
sed -i.bak '/^#/!s/^/#/' /etc/frontview/samba/usermap.conf
sed -i.bak2 '/[@]/d' /etc/frontview/samba/usermap.conf
find /data/._share -type f -name samba.conf -exec sed -i.bak '/^[[:space:]]*invalid users/d' {} +
sed -i.bak '/@/d' /etc/samba/smbpasswd
sed -i.bak '/^[^:]*@[^:]*:/d' /etc/passwd
sed -i.bak '/^[^:]*@[^:]*:/d' /etc/shadow
reboot
___
I hope someone finds this helpful.
I still love Netgear ReadyNAS, and I'm going to use it till the wheels fall off.
-dottrix
StephenB
Jun 10, 2025Guru - Experienced User
dottrix wrote:Batch of Commands:
SSH into ReadyNAS and login as root.
___
mv /opt/readycloud/etc/registration.conf /opt/readycloud/etc/registration_tmp.conf
sed -i.bak '/^[[:space:]]*invalid user/d' /etc/frontview/samba/Shares.conf
sed -i.bak '/^#/!s/^/#/' /etc/frontview/samba/usermap.conf
sed -i.bak2 '/[@]/d' /etc/frontview/samba/usermap.conf
find /data/._share -type f -name samba.conf -exec sed -i.bak '/^[[:space:]]*invalid users/d' {} +
sed -i.bak '/@/d' /etc/samba/smbpasswd
sed -i.bak '/^[^:]*@[^:]*:/d' /etc/passwd
sed -i.bak '/^[^:]*@[^:]*:/d' /etc/shadow
reboot
It looks useful - when I have a chance I'll try it on one of my test NAS.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!