News for hackers. Stuff that matters.
Re:Show HN: Inspect questionable scripts before piping them ... by hawski on Saturday May 16, 2015 @06:15PM (#9557850)
I can't wait for a time when simple and universal sandboxing will be available with no need for root.

Just: $ sandbox 'curl http://whatever | sh'

With predefined permission profiles or interactive permission system.

Re:Show HN: Inspect questionable scripts before piping them ... by seanp2k2 on Saturday May 16, 2015 @09:56PM (#9558377)
What would it do which can't already be done with normal nix permissions and/or ACLs? The solution is to create a user account, like www-run or redis or Postgres or any of the other tons of things which already do this.

An even better idea is jails, or something like Docker.

Re:Show HN: Inspect questionable scripts before piping them ... by hawski on Sunday May 17, 2015 @01:50PM (#9560923)
What you present is not simple or universal. Nix permissions and ACLs are for file system access and sadly in Linux "everything is a file" is a lie.

Jails or Docker are practically heavyweight sandboxes and they need root access.