TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Using Ruby Gem to root a box
3 points
by
r11t
about 15 years ago
1 comment
jpcx01
about 15 years ago
Bad title. He was given sudo access to gem. So, of course he'll be able to run arbitrary code as sudo.<p>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.