TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Using Ruby Gem to root a box

3 pointsby r11tabout 15 years ago

1 comment

jpcx01about 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.