Đây bác Phước:
Đăng nhập WinSCP Synology NAS với quyền root (cho soạn thảo trong WinSCP)
1. Control Panel > Terminal & SNMP > Terminal > Check Enable SSH service
2. Kích hoạt tài khoản root:
Đăng nhập Putty:
sudo -i
sudo vi /etc/ssh/sshd_config
+ Bấm phím i ( cho soạn thảo)
+ Thêm dòng PermitRootLogin=yes
+ Bấm phím ECS (Thoát soạn thảo)
+ Bấm :wq để lưu và thoát
3. Tạo pass cho root:
Đăng nhập Putty:
sudo -i
sudo synouser -setpw root "pass"
+ "pass" lấy giống lúc đăng nhập UI synology DSM
4. Reboot
5. Đăng nhập WinSCP
miniDLNA (synology)
/volume xxx /@appstore/minidlna/var/log
+ volume xxx : volume cài app minidlna
+ minidlna.log có dòng cảnh báo:
WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [0] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
FIX: Nếu sửa tại file /proc/sys/fs/inotify/max_user_watches. Synology sẽ trả về như cũ khi reboot
-- Task Scheduler--
+ Thêm dòng:
sysctl fs.inotify.max_user_watches=65536
+Kiểm tra:
cat /proc/sys/fs/inotify/max_user_watches