Azure / Azure/azure-linux-extensions
AADLoginForLinux generates large numbers as UID/GID
- Dominant language
- Python
- Stars
- 333
- Forks
- 278
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 4
Description
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.

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?
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named; start by locating the AADLoginForLinux code that assigns the Entra ID user's UID/GID and reproduce the reported `id` output. Done means the default IDs are below 65535 and `chown`/`chgrp` succeed for the logged-in user.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, python
- Domain
- authentication, operating-systems, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100