Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

User's group is incorrectly set to the user's name #4

Open
mirror176 opened this issue Aug 15, 2024 · 0 comments
Open

User's group is incorrectly set to the user's name #4

mirror176 opened this issue Aug 15, 2024 · 0 comments

Comments

@mirror176
Copy link

User's group on copies is currently being set to the username instead of the user's default group which is normally incorrect unless it was manually set to that. Its default is usually 'users' but can be customized as part of any account creation step. Replacing the second $normal with id -gn $normal (could be saved to a variable earlier) will get the group.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant