how to create alias for user in Linux
here:
https://unix.stackexchange.com/questions/758076/how-to-effectively-alias-a-user-on-linux
Users can share their UID, giving them the same user permissions.
Some quick testing reveals that no matter which alias you are logged in as, the system will recognize you as the first user which matches the UID from the passwd database (normally /etc/passwd but can be elsewhere in advanced setups).
I have not seen that groups behave the same way, each alias needs to be added to each group explicitly. It would seem that while users are mapped from UID, the groups look to be mapped from the name (check the contents of /etc/group to get a sense of what I mean).