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

Drag-drop command bypasses sudo warning #793

Open
jeremypw opened this issue Oct 13, 2024 · 0 comments · May be fixed by #794
Open

Drag-drop command bypasses sudo warning #793

jeremypw opened this issue Oct 13, 2024 · 0 comments · May be fixed by #794
Labels
Priority: Critical e.g. security implications or reproducible crashing

Comments

@jeremypw
Copy link
Collaborator

What Happened?

If a command containing sudo is pasted into a terminal a warning appears. However this does not occur if the same text is dragged and dropped onto the terminal.

Steps to Reproduce

  1. Create a sudo command in text editor
  2. Drag and drop it onto a terminal, including the crlf.
  3. No warning appears - if the terminal already has admin privilege it will execute the command.

Expected Behavior

The same warning should appear as for pasting the text.

OS Version

7.x (Horus)

Session Type

Classic Session (X11, This is the default)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

@jeremypw jeremypw added the Priority: Critical e.g. security implications or reproducible crashing label Oct 13, 2024
@jeremypw jeremypw linked a pull request Oct 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Critical e.g. security implications or reproducible crashing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant