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.

You’re in the front of a Linux computer, you need a root access. What do you do?

19 pointsby 300about 11 years ago

11 comments

yuvadamabout 11 years ago
Not sure what this article is trying to say. I can gain &quot;root access&quot; just by dismantling the hard drive and mounting it on a machine I own.<p>This is exactly why everybody should be using full-disk encryption. It is ridiculously easy to set it up both on OS X (with FileVault) and Linux (with a plethora of options), and even on Windows machines. There is absolutely no reason why not to do this.
评论 #7458000 未加载
评论 #7458149 未加载
marcosdumayabout 11 years ago
One does not even need to enable password protection of Grub. Linux will ask for the root password before granting access to recovery mode. That stopped working at the early 2000s. The author must use a pretty stupid distro to not notice it by 2013.<p>Anyway, want to gain access to the computer? Get a screwdriver.
评论 #7457973 未加载
评论 #7457936 未加载
评论 #7458013 未加载
评论 #7457992 未加载
评论 #7457994 未加载
emilwabout 11 years ago
If enabled, you use a firewire connection. You don&#x27;t even need to reboot and can connect as root to any running processes and filesystems.<p><a href="http://www.breaknenter.org/projects/inception/" rel="nofollow">http:&#x2F;&#x2F;www.breaknenter.org&#x2F;projects&#x2F;inception&#x2F;</a><p>Yes, that is actual working technology.
评论 #7458173 未加载
评论 #7458169 未加载
SixSigmaabout 11 years ago
If it has sensitive data on it, the Linux computer should be locked in a room. Physical access = ownership, every sysadmin knows that. Plan 9 terminals don&#x27;t have passwords for user accounts, if you want access to privileged data you then have to authenticate with the dedicated authorization server. Linux is a 1960s OS, it boggles the mind people even still use it.
评论 #7458339 未加载
gphilipabout 11 years ago
You&#x27;re in front of a Linux computer. You compile an exploit you read about on Slashdot, run the resulting executable, and voila!, you are dropped into a root shell. After a couple of seconds you realize that you have <i>no</i> ideas on what to do next. That&#x27;s when it registers that you are not as &quot;young&quot; as you once were ...
pmoriciabout 11 years ago
You can also just edit the boot command and add&#x2F;modify the line init=... to init=&#x2F;bin&#x2F;sh
Piskvorrrabout 11 years ago
Grub is password-protected, what do you do? (Boot from a live distro and chroot into the on-disk one)
评论 #7458251 未加载
评论 #7457765 未加载
评论 #7458077 未加载
walesmdabout 11 years ago
Edit the kernel entry in grub to boot into single user mode (by appending a 1 to the line), boot, you&#x27;re now free to change root&#x27;s password.<p>This is what we did to a number of machines at this year&#x27;s SouthWest CCDC we were provided no login information for.
servowireabout 11 years ago
Alt+Magic sysreq key+b Put in a USB stick with Puppy Linux. Boot, Root.<p>Or did we need to get root access to the previous running OS? Be more specific in that case ;)
taybinabout 11 years ago
Check what version of sendmail is running.
luckystarrabout 11 years ago
Link down, though if asked, I would suspect this to be a trick question. :-P