Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: Why is a user created when creating a share
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-04-29
09:01 PM
2015-04-29
09:01 PM
Why is a user created when creating a share
I'm trying to do some clean-up on my home computers, and I noticed on my ReadyNas Duo v1 (RAIDiator 4.1.14) that for every share I've created a corresponding user has been created.
However the shares are owned by nobody:nogroup so what's the point of creating those users?
Since my computers are all Linux machines I use NFS, so that means UID and GUID have to be synchronized, and having these users created in the background (for no apparent reason) makes it difficult to keep everything in order.
Can I just delete those users? What is their purpose if they don't own the share?
Thanks,
However the shares are owned by nobody:nogroup so what's the point of creating those users?
Since my computers are all Linux machines I use NFS, so that means UID and GUID have to be synchronized, and having these users created in the background (for no apparent reason) makes it difficult to keep everything in order.
Can I just delete those users? What is their purpose if they don't own the share?
Thanks,
Message 1 of 6
Labels:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-04-29
10:40 PM
2015-04-29
10:40 PM
Re: Why is a user created when creating a share
Hello,
looking at a 4.2.x device here I also see a user for every share created. This users belongs to the group with GID 65534. I do not know why the ReadyNAS needs these users. However, noticing that this is a system group with other users in this group related to backup and access I would refrain from deleting the users created with shares.
Bye,
Eskender
looking at a 4.2.x device here I also see a user for every share created. This users belongs to the group with GID 65534. I do not know why the ReadyNAS needs these users. However, noticing that this is a system group with other users in this group related to backup and access I would refrain from deleting the users created with shares.
Bye,
Eskender
Message 2 of 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-04-29
11:43 PM
2015-04-29
11:43 PM
Re: Why is a user created when creating a share
It would prevent you from creating a user with that username on the NAS. If you created a user with the same name as a share it would cause config issues as you couldn't have a private home share with the same name as the ordinary share.
I agree with EskenderNG. I would not delete the user.
I agree with EskenderNG. I would not delete the user.
Message 3 of 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-04-30
03:26 AM
2015-04-30
03:26 AM
Re: Why is a user created when creating a share
The approach might also go back to the days of share security mode. I wouldn't delete them either.
mdgm wrote: It would prevent you from creating a user with that username on the NAS. If you created a user with the same name as a share it would cause config issues as you couldn't have a private home share with the same name as the ordinary share.
I agree with EskenderNG. I would not delete the user.
Though I am not understanding how they complicate your life, since you don't need to create matching users on any other machine.
Message 4 of 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-04-30
04:54 AM
2015-04-30
04:54 AM
Re: Why is a user created when creating a share
Thanks everyone, those answers make sense.
They're not easily visible through the web interface, so I don't know which UID's they are occupying unless I telnet into the NAS and look at the passwd file.
StephenB wrote: I am not understanding how they complicate your life, since you don't need to create matching users on any other machine.
They're not easily visible through the web interface, so I don't know which UID's they are occupying unless I telnet into the NAS and look at the passwd file.
Message 5 of 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-04-30
06:36 AM
2015-04-30
06:36 AM
Re: Why is a user created when creating a share
I've also noticed the link from the root to the share is owned by the named owner, but the actually directory is owned by nobody (except media - what's up with that?)! The link is what is exported (for NFS) and bind-mounted (for FTP).
Link from root of file system:
Actual directory in /c volume:
NFS exports
FTP mounts
I wonder if that is relevant, or if the link could just as easily be owned by nobody or root?
Link from root of file system:
lrwxrwxrwx 1 backup users 9 Jul 8 2008 backup -> /c/backup
lrwxrwxrwx 1 document users 12 Sep 7 2008 documents -> /c/documents
lrwxrwxrwx 1 media users 8 Jul 8 2008 media -> /c/media
Actual directory in /c volume:
drwxrwsr-x 12 nobody users 16384 Feb 26 21:30 backup
drwxrwsr-x 8 nobody users 16384 Oct 5 2013 documents
drwxrwsr-x 8 media users 16384 Aug 22 2014 media
NFS exports
"/backup" 123.123.123.0/255.255.255.0(insecure,insecure_locks,rw,async)
"/documents" 123.123.123.0/255.255.255.0(insecure,insecure_locks,rw,async)
"/media" *(insecure,insecure_locks,ro,async) 123.123.123.0/255.255.255.0(insecure,insecure_locks,rw,async)
FTP mounts
/backup /home/ftp/backup bind bind 0 0
/documents /home/ftp/documents bind bind 0 0
/media /home/ftp/media bind bind 0 0
I wonder if that is relevant, or if the link could just as easily be owned by nobody or root?
Message 6 of 6