|
|
(7 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| = ReadyNAS user guide =
| | [[Secure:ReadyNAS_config|ReadyNAS juhend]] |
| This page contains information on the configuration and usage of [http://www.netgear.com/business/products/storage/readynas/RN3220.aspx#tab-techspecs ReadyNAS 3220] backup storage in IMS cellar.
| |
| | |
| == Configuration ==
| |
| | |
| === Adding a new user ===
| |
| All new users should be created using the webinterface.
| |
| | |
| *Step 1
| |
| [[File:ReadyNASNewUser1.png]]
| |
| | |
| [[File:ReadyNASNewUser2.png]]
| |
| | |
| === Hacks ===
| |
|
| |
| *In order to set the correct hostname enter the following command as a user into the shell. During firmware upgrades or similar procedures the hostname could default to storage, thus when adding a new user the sent email will have wrong links address.
| |
| | |
| hostname storage.ims.ut.ee
| |
| | |
| *To give some user ssh access to the machine following command has to be used. This might default under rare conditions back to /bin/false
| |
| | |
| chsh -s /bin/bash username
| |
| | |
| *All user should have their home directory in /data/username directory. This can be achieved using the following command
| |
| | |
| usermod --home /data/username username
| |
| | |
| *All file permissions are handled with acl. Thus, editing them should be done from the webinterface. If for some reason interface does not have needed entries, then getfacl and setfacl commands should be used.
| |
| | |
| getfacl /data/folder # this lists the permissions
| |
| | |
| setfacl -R -m u:username:rwx /data/folder # this adds permissions for a user
| |
| | |
| setfacl -R -x u:username /data/folder # this removes permissions for a user
| |
| | |
| == Usage ==
| |