3 ms·
Using Ruby Gem to root a box
- jpcx01 17y agoBad title. He was given sudo access to gem. So, of course he'll be able to run arbitrary code as sudo. Don't use sudo gems. Rubygems works great with normal user access. In fact, best bet is to have a user ruby install too. RVM helps with this.