Under Linux, I would like to be able to launch anything from command line in a "safe" environment, i.e. be assured that it can't read or write any file on my computer, and even better if it couldn't access the network.
I thought about creating a user with reading rights only in the current folder (and nowhere else), and su
to this user to launch the command, would this work ? And what about the network ?
What would you do ?