Nfs credentials

I’d like to automount the nfs share from my synology nas and i read documentation about nfs+autofs with systemd etc etc but i didn’t understand how i can set up my credentials to access to that share without using username+password in clear to fstab file:

192.168.1.110:/volume1/sharedfolder /mnt/sharedfolder nfs noauto,users,nodev,async,soft,_netdev,x-systemd.automount,x-systemd.device-timeout=1,x-systemd.idle-timeout=1min,x-systemd.mount-timeout=10,timeo=10,retry=3 0 0

In past i used put credentials to windows share in dolphin (i use plasma) and i know it’s insicure but i used it just with the fstab row above - now i read this function is deprecated

I am not sure whether I understand the problem.
Maybe this german thread can help help you:
https://forum.endeavouros.com/t/synology-nas/56802, it contains some links commands and screenshots.

1 Like

I have a Synology DS218. The way that I’ve done it is to map the user GID on the Synology itself, - so there’s no need for a username or password on my Linux clients:

Synology GUI, - Control Panel - Shared Folder - Edit (Folder Share) - NFS Permissions ; add your user there and map all users to admin, or to the level that you need. I’ve also set NFS to V3 max.

1 Like

it’s a different situation, I thank you though because I found in the thread several useful information for my learning! thank you

1 Like

This solved my problem! it was easier than expected, thank you very much!

1 Like