changing user uid
edit the uid in registry:
Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss\{hash_path}\DefaultUid
edit the `/etc/passwd` and `/etc/group` files as root
grep jgalley /etc/passwd
# jgalley:x:42069:42069:,,,:/home/jgalley:/bin/bash
grep jgalley /etc/group
# adm:x:4:jgalley
# cdrom:x:24:jgalley
# sudo:x:27:jgalley
# dip:x:30:jgalley
# plugdev:x:46:jgalley
# users:x:100:jgalley
# jgalley:x:42069:
chown -R jgalley:jgalley /home/jgalley/
wsl --shutdown