synology parcticle script
挂载synoboot到fs
cd /dev && mount -t vfat synoboot2 /mnt/synoboot2 && cd /mnt/synoboot2
- sudo synouser -setpw root newpasswd(then click enter). And now you have created your root password as "newpasswd". You can replace this "newpasswd" to the password you preferred.
- On "[email protected]", type : cd .. (then click enter)
- Then type: vi /etc/ssh/sshd_config (then click enter)
- You will see many texts and lines appear.
- Try to scroll up and search for this line: #PermitRootLogin yes
- Restart sshd service.
列出nas中所有服务 :synoservice --list
停止\重启某服务
synoservicectl --restart/reload pkgctl-*
synoservicectl --stop pkgctl-*
Subscribe to 让我来修理你
Get the latest posts delivered right to your inbox