Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Modified usernames #574

Open
2 tasks done
bill-taut opened this issue Oct 7, 2024 · 3 comments
Open
2 tasks done

Feature: Modified usernames #574

bill-taut opened this issue Oct 7, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@bill-taut
Copy link

Is there an existing request for this feature?

  • I have searched the existing issues and found none that matched mine

Describe the feature

When logging in using an Entra email ID (e.g., [email protected]), the username and home directory on the VM are the full email address (e.g., /home/[email protected]).

For orgs with only one login domain, it would be great to have the username not include the @foo.com portion. So the username in this case would be bill and the home directory would be /home/bill.

Describe the ideal solution

No response

Alternatives and current workarounds

No response

System information and logs

No response

Relevant information

No response

Double check your logs

  • I have redacted any sensitive information from the logs
@didrocks didrocks added the enhancement New feature or request label Oct 9, 2024
@didrocks
Copy link
Member

didrocks commented Oct 9, 2024

As a note: if we are going to support such feature:

  • we need to take into account as the user name is used also for local group membership
  • consequently, the user name should not conflict with any other local users on the machine and some checks should be done with some integration to ensure that you can’t add a local user afterwards either if the tools don’t do a nss request first

@shiv-tyagi
Copy link
Contributor

Looks like a duplicate of #508

@bill-taut
Copy link
Author

@didrocks We are using a network-mounted shared home directory. Given the lack of uniqueness and consistency guarantees with the current authd UID implementation, I actually want to add a local user with a known UID to every machine but without the ability to login using that local user. Logins would then be mediated by authd, but when they get in, the UID would be set according to the entry in /etc/passwd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants