Azure / azure-linux-extensions

Linux Virtual Machine Extensions for Azure
Apache License 2.0
301 stars 251 forks source link

AADLoginForLinux generates large numbers as UID/GID #1936

Open horihiro opened 2 weeks ago

horihiro commented 2 weeks 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 2 weeks ago

usermod cannot change UID image