In all my linux systems UID 1000 is assigned to another username. In DietPi the UID 1000 is assigned to username dietpi.
This is annoying especially when using sshfs or nfs
Is it save to remove user “dietpi” and replace it with another one?
Or are other things linked to the user dietpi
If removing “dietpi” is unsave…
Is it save to change to UID/GID of user & group “dietpi” to another id i.e. 1111?
usermod -u 1111 dietpi
groupmod -g 1111 dietpi
find / -group 1000 -exec chgrp -h dietpi {} \;
find / -user 1000 -exec chown -h dietpi {} \;
And create new users afterwards
useradd -m -s /bin/bash -u 1000 -U username0
passwd username0
useradd -m -s /bin/bash -u 1001 -U username1
passwd username1