Skip to content

add -E arg to sudo to preserve wayland env vars#10

Closed
TotalChaos05 wants to merge 1 commit into
Vencord:mainfrom
TotalChaos05:patch-1
Closed

add -E arg to sudo to preserve wayland env vars#10
TotalChaos05 wants to merge 1 commit into
Vencord:mainfrom
TotalChaos05:patch-1

Conversation

@TotalChaos05
Copy link
Copy Markdown

No description provided.

@Vendicated
Copy link
Copy Markdown
Member

there shouldn't be any need for this and it is terrible security practice so I don't want to encourage it. Thanks anyway!

@Vendicated Vendicated closed this Aug 8, 2023
@TotalChaos05
Copy link
Copy Markdown
Author

without it you cant run the gui on wayland though

@Vendicated
Copy link
Copy Markdown
Member

@TotalChaos05
Copy link
Copy Markdown
Author

im just gonna take your word for it, because i patch it using nix now :P
slightly related question, why is sudo -E less secure than sudo?

@Vendicated
Copy link
Copy Markdown
Member

since it keeps all environemnt variables, it makes it so an attacker with normal user access could get root access, via many many many attack vectors (PATH, LD_PRELOAD, etc)

@unknown134563
Copy link
Copy Markdown

can you add vesktop on chrome web store as a app plss

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.

3 participants