การ Import User เข้าไปยัง Synology NAS
บทความโดย Synology Thailand by Digitalcom ที่มา Synology.com
Import Users
You can create user accounts in a batch basis by importing a users list.
To create the users list:
Method 1. Use a Text Editor:
- Open a new file with a text editor.
- Enter a user’s information in the following order and separate them by TAB:
- Username
- Password
- Description
- Quota (MB) in volume 1 (repeat this step if you have more than one volume)
Note:
User’s quota is not supported in Btrfs file system and external storage devices (e.g. USB/eSATA drives).
- Go to the next line and repeat step 2 until you have input all the users. Each line indicates one user’s information.
- Save the file in UTF-8 encoding.
Method 2. Use Microsoft Excel:
- Open a new file with Excel.
- Enter users’ information in the following order and separate them by column in a single row:
- Username
- Password
- Description
- Quota (MB) in volume 1 (repeat this step if you have more than one volume)
Note:
User’s quota is not supported in Btrfs file system and external storage devices (e.g. USB/eSATA drives).
- Go to the next row and repeat step 2 until you have input all the users. Each row indicates one user’s information.
- Open a new file with text editor. Copy the entries from the spreadsheet and paste them to the text file.
- Save the file in UTF-8 encoding.
Note:
-
- All fields are optional except username.
- An example of the text file is shown as follows:
rosy | 1234 | mother | rosy@abc.com | 80000 |
chaddy | 5678 | brother | chaddy@abc.com | 80000 |
danny | 8901 | cousin | danny@abc.com | 20000 |
anny | 2345 | sister | anny@abc.com | 20000 |
To import the users list:
- Choose Create > Import Users.
- Tick Overwrite duplicate accounts if you wish to replace the duplicate accounts with the one exists in the users list.
- Click Browse and select the file of the users list. After the file is selected, the preview region will show the list of imported users. Users with abnormal status will not be imported.
- Click Upload to create the user accounts.
Note:
The file of users list must be in UTF-8 format.
บทความโดย Synology Thailand by Digitalcom /Base on DSM 6.2 / May 28, 2563