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

feat: bluefin-cli enable sudo/chown linuxbrew #763

Merged
merged 1 commit into from
Dec 31, 2023

Conversation

m2Giles
Copy link
Member

@m2Giles m2Giles commented Dec 31, 2023

Enables sudo in the bluefin-cli. It also chowns the linuxbrew files to UID 1000. This makes the assumption that the user has UID 1000.

For whatever reason, the groups are not generated correctly for the user so we cannot reuse adm/wheel. The only valid group for the user is their own. Since most users are user 1000, we can assume this is the case. If they are not, they will have to use the su-exec method that already exists to change /etc/sudoers and chown linuxbrew.

Enables sudo in the bluefin-cli.  It also chowns the linuxbrew files to UID 1000. This makes the assumption that the user has UID 1000.

For whatever reason, the groups are not generated correctly for the user so we cannot reuse adm/wheel. The only valid group for the user is their own. Since most users are user 1000, we can assume this is the case. If they are not, they will have to use the su-exec method that already exists to change /etc/sudoers and chown linuxbrew.
@m2Giles m2Giles requested a review from castrojo as a code owner December 31, 2023 01:30
@castrojo castrojo enabled auto-merge December 31, 2023 01:33
@castrojo castrojo added this pull request to the merge queue Dec 31, 2023
Merged via the queue into ublue-os:main with commit c049d6c Dec 31, 2023
34 checks passed
wizzywizard65 pushed a commit to wizzywizard65/bluefin that referenced this pull request Dec 31, 2023
@m2Giles m2Giles deleted the bluefin-cli-sudo branch January 2, 2024 14:42
awesomekyle pushed a commit to awesomekyle/bluefin that referenced this pull request Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants