Blacklist some commands to prevent data loss

Bug #1258741 reported by Cody Garver
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Slingshot
Confirmed
Wishlist
Unassigned

Bug Description

To protect against data loss/trolling we should make it impossible to run commands like rm -rf /home/username/*/

Revision history for this message
Danielle Foré (danrabbit) wrote :

I'm +1 on this. There's no case where doing something dangerous like that from Slingshot makes any sense.

Changed in slingshot:
status: New → Confirmed
assignee: elementary UX Team (elementary-design) → nobody
Revision history for this message
quequotion (quequotion) wrote :

How do we make a concise list of commands to forbid in Slingshot without losing it's convenient "run dialog" functionality?

I really like having the ability to run terminal commands without the hassle of opening a terminal, but I agree that users should be warned / stopped when they do something dangerous.

Unfortunately, the number of dangerous things one can do with a command line is somewhat infinite...

Revision history for this message
CruelAngel (hendricha) wrote :

As an outsider: I don't think there's a point of this, since even if you let's say disable rm here, the troll could then just say that it should be written in a terminal, where it isn't disabled. I don't someone gullible enough to copy a random text from the Internet to a searchbox and click "run command" without understanding what that command does, would not do it in a terminal too.

Cody Garver (codygarver)
Changed in slingshot:
importance: Undecided → Wishlist
milestone: isis-beta1 → none
Revision history for this message
Djax (parnold-x) wrote :

rm is blocked in the actual synapse command plugin

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.