NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

AgentANGST-4043's avatar
Oct 28, 2025

Remove readnas users

linking to --> community.netgear.com/discussions/readynas-use/remove-readycloud-users/2335016
(that is where I first saw the solution posted)

I tried the various commands written at the end of the post linked above.
I tried it in production, like proud, brave, foolish people do and it WORKED!!!

I'm finally rid of the Readycloud users.

It does not let me post the code, so you'll need to get it from the community post linked above.

 

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


ChatGPT explains it better than me:

1.- ReadyCLOUD disabled by moving:
/opt/readycloud/etc/registration.conf -> registration_tmp.conf


2.- Samba configs cleaned:
3.- Removed invalid user(s) lines from Frontview and per-share configs.
4.- Commented out most of usermap.conf and deleted lines containing @.
5.- Purged @ users from /etc/samba/smbpasswd.

6.- System accounts with @ in the username deleted from /etc/passwd and /etc/shadow.

7.- System reboot

I think you need to be careful if you have AD / domain integration on your NAS, because of the users with the @. If not it seems quite safe and effective. Tadá!

NETGEAR please make OS6 open-source, what do you care? you don't even commercialize it anymore.

1 Reply

NETGEAR Academy

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

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More