NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
jeremykennedy
Jul 13, 2018Aspirant
user name already exists - readynas NVX
I know this is an old unit, but it still works for us just fine. But I'm trying to set up a bunch of new local users on the device, and a few that I wanted to create, it says "user name already exis...
jeremykennedy
Jul 13, 2018Aspirant
No, I don't have SSH enabled . . . . I always read the disclaimers that enabling SSH on there was bad. :)
I can give it a go though. I don't know any linux however. Is there a list of commands that can show the users? And assuming it can see them from the command line . . how can I see them in the GUI so that I can assign permissions?
StephenB
Jul 13, 2018Guru - Experienced User
jeremykennedy wrote:
No, I don't have SSH enabled . . . . I always read the disclaimers that enabling SSH on there was bad. :)
They can and likely will deny support if you do damage with the command line. If that were to happen, you'd need to do a factory default procedure and restore the data from backup.
jeremykennedy wrote:
I can give it a go though. I don't know any linux however. Is there a list of commands that can show the users? And assuming it can see them from the command line . . how can I see them in the GUI so that I can assign permissions?
I was thinking you could begin by simply getting a list of the user groups and accounts.
If you use a mac, then you'd connect to the NAS with terminal. Otherwise you'd use an application called putty. You log in as root, using the admin password.
You see the full list of users and groups by entering cat /etc/passwd
The cat command just lists a file (in this case /etc/passwd).
On my pro 6 (running 4.2.31), it looks like this:
PRO:~# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/var/local/:/bin/false
bin:x:2:2:bin:/var/local/:/bin/false
sys:x:3:3:sys:/var/local/:/bin/false
sync:x:4:65534:sync:/var/local/:/bin/sync
man:x:6:12:man:/var/local/:/bin/false
lp:x:7:7:lp:/var/local/:/bin/false
mail:x:8:8:mail:/var/local/:/bin/false
proxy:x:13:13:proxy:/var/local/:/bin/false
avahi:x:20:20::/var/local/:/bin/false
messagebus:x:21:21::/var/local/:/bin/false
www-data:x:33:33:www-data:/var/local/:/bin/false
sshd:x:40:65534::/var/local/:/usr/sbin/nologin
statd:x:41:65534::/var/local/:/bin/false
ftp:x:97:97::/home/ftp:/bin/false
mysql:x:44:54:MySQL Server,,,:/var/local/:/bin/false
admin:x:98:98::/c/home/admin:/bin/false
nobody:x:65534:65534:nobody:/var/local/:/bin/false
backup:x:1000:65534::/c/backup:/bin/false
ReadyNAS:x:96:65534::/var/lib/timemachine:/bin/false ...
Every share will also be included in the list. Note that means that you can't create a user account if the username matches an existing sharename. If Andrea and the other problematic accounts don't show up, then there must be some other issue, and you should post back.
The command to delete a linux user is userdel. For instance
# userdel Andrea
Obviously you want to be really careful when running that command.
jeremykennedy wrote:
how can I see them in the GUI so that I can assign permissions?
Once the stray account is deleted, you should be able to create a new one from the GUI and manage it.
- jeremykennedyJul 13, 2018Aspirant
Ahhh, well, I think you just identified my problem right there.
I can't have a share name with the same name as a user name.
I was looking to create a share for andrea called, well, Andrea, and then have the user name as Andrea as well. But you're telling me that I won't be able to do that. That's okay I guess . . . just never heard that before. Will just readjust my plan then! :)
Thanks for the tip!
- SandsharkJul 15, 2018Sensei
If you have home shares turned on (sorry, I don't recall how to do/check that in OS 4.2.x), then each user will automatically get a home share with their name. It won't appear until their first log-on, though. That's the reason for the limitation on user and share name dupicates.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!