First, you need to SSH into your NAS.
When you are in your NAS with the user you want the ID for, just type
Now you'll get something like this:
From that, you can read your UID is 1031, user group is 100, administrator group is 101 (if this user as an administrator).
This information is useful and needed for instance when using certain Docker images.
For instance, you can also type
When you are in your NAS with the user you want the ID for, just type
id
and hit Enter.Now you'll get something like this:
uid=1031(your_nas_user) gid=100(users) groups=100(users), 101(administrators)
From that, you can read your UID is 1031, user group is 100, administrator group is 101 (if this user as an administrator).
This information is useful and needed for instance when using certain Docker images.
For instance, you can also type
id http
if you want to know the ID and group for http
user.- Related resources
Tutorial - How to SSH into a NAS?
In DSM go to Control Panel > Terminal & SNMP > Terminal tab Check Enable SSH service and set your port (it is strongly recommended not to use port 22, but to change it to something else). Open Terminal (Mac) (on Windows machine open CMD...www.synoforum.com