Azure / azure-linux-extensions

Linux Virtual Machine Extensions for Azure
Apache License 2.0
309 stars 255 forks source link

AADLoginForLinux generates large numbers as UID/GID #1936

Open horihiro opened 4 months ago

horihiro commented 4 months ago

I'm trying AADLoginForLinux now. But the assigned UID/GID for the Entra ID user is 3197663, it is very large.

The following screenshot is a result of id command after logging in as Entra ID user. image

This large number causes failure of chown/chgrp command for this user because the IDs is larger than 65535.

Is there any way to assgin UID/GID, that is smaller than 65535, for Entra ID user by default?

horihiro commented 4 months ago

usermod cannot change UID image