stgraber@castiana:~$ printf "lxd:$(id -u):1\nroot:$(id -u):1\n" | sudo tee -a /etc/subuid
lxd:201105:1
root:201105:1
what is he doing here? he’s taking his current user and group id and adding it /etc/subuid and /etc/subgid but why add LXD and ROOT? what is this step doing? If i just want to add a group on my system like SHAREWRITE does this change anything?
stgraber@castiana:~$ printf "lxd:$(id -g):1\nroot:$(id -g):1\n" | sudo tee -a /etc/subgid
lxd:200512:1
root:200512:1
suppose this is the same question as above, what is this step doing?