Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You don't want to accidentally delete or write to things and this command seems like an accident waiting to happen. A command whitelist would be very helpful but it doesn't look like UP has one.


Yes, even a blacklist with obvious ones listed would be cool. Imagine just typing the characters rm and you're gone..


One of the reasons for not doing this is that I decided I don't want to lure the users into a false sense of security. A comment by hnlmorg basically sums this up better than I could: https://news.ycombinator.com/item?id=26645875 (The other being, that I was cutting corners on my initial ideas brutally trying to push the tool out of the door, and it's still kind of a miracle I eventually managed to do that.)


Good point. That's a big problem. I could conceivably have a perfectly harmless tool where a prefix of the name is something dangerous.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: