Home | Community | Message Board


This site includes paid links. Please support our sponsors.


Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Shop: PhytoExtractum Kratom Powder for Sale   Left Coast Kratom Kratom Powder For Sale   Kraken Kratom Red Vein Kratom   Myyco.com Golden Teacher Liquid Culture For Sale   Bridgetown Botanicals CBD Concentrates

Jump to first unread post Pages: 1
OfflineLinux
Elite Grey Hat
Male User Gallery


Registered: 08/21/08
Posts: 1,787
Loc: Eastpointe, MI 48021 Flag
Last seen: 12 years, 8 months
Ubuntu Hack
    #8970213 - 09/22/08 09:21 PM (15 years, 7 months ago)

http://www.paulspoerry.com/2008/09/06/replace-linux-root-password/

Replace Linux root password
September 6, 2008

Ubuntu logoImage via Wikipedia

I never realized the it was even easier to replace a lost (or to hack a machine given you have physical access) a Linux machine. Jason Striegel posted this example over at Hackszine.com on how to reset a lost Ubuntu password. It’s surprisingly simple to reset, simply follow the steps outlined below. Here’s how to do it on a typical Ubuntu machine with the GRUB bootloader:

Boot Linux into single-user mode

  1. Reboot the machine.
  2. Press the ESC key while GRUB is loading to enter the menu.
  3. If there is a ‘recovery mode’ option, select it and press ‘b’ to boot into single user mode.
  4. Otherwise, the default boot configuration should be selected. Press ‘e’ to edit it.
  5. Highlight the line that begins with ‘kernel’. Press ‘e’ again to edit this line.
  6. At the end of the line, add an additional parameter: ’single’. Hit return to make the change and press ‘b’ to boot.

Change the admin password
The system should load into single user mode and you’ll be left at the command line automatically logged in as root. Type ‘passwd’ to change the root password or ‘passwd someuser’ to change the password for your “someuser” admin account.

Reboot

That’s it, just reboot into your normal configuration with the new root password.


--------------------

I'm just a psychopathic, mass-murdering, schizophrenic clown with zero empathy.

Extras: Filter Print Post Top
InvisibleHELLA_TIGHT
Madge the Smoking Vag
Female User Gallery
Folding@home Statistics
Registered: 08/19/03
Posts: 84,387
Loc: Afghanistan Flag
Re: Ubuntu Hack [Re: Linux]
    #8974701 - 09/23/08 06:51 PM (15 years, 7 months ago)

Yeah I had to do that on one of my machines. I was all stoned and thought I needed a new password scheme, but then I forgot it and couldn't log in.

Fucking idiot.


--------------------



Extras: Filter Print Post Top
Offlinesupra
computerEnthusiast
Registered: 10/26/03
Posts: 6,446
Loc: TEXAS
Last seen: 13 years, 1 month
Re: Ubuntu Hack [Re: Linux]
    #8974873 - 09/23/08 07:24 PM (15 years, 7 months ago)

so is this something that just affects ubuntu or all linux installs with GRUB?  Makes me glad I don't use ubuntu, because that is super easy, but if it is grub, it may be time for me to go over to LILO...

peace

Extras: Filter Print Post Top
Invisibledeimya
tofu and monocle
 User Gallery

Registered: 08/26/04
Posts: 825
Loc: ausländer.ch
Re: Ubuntu Hack [Re: supra]
    #8976836 - 09/24/08 02:47 AM (15 years, 7 months ago)

That affect any linux system indeed. GRUB and LILO are both vulnerable. You can password protect single-user mode with both of them but again you could then boot using a liveCD or whatnot. Which mean that you need to also deactivate booting from CD or floppy, etc, and protect your BIOS setup with a password. But then again you can reset the password if you have physical access to the motherboard.


In short, there is no security if there's no physical security first.

Extras: Filter Print Post Top
OfflineSeussA
Error: divide byzero


Folding@home Statistics
Registered: 04/27/01
Posts: 23,480
Loc: Caribbean
Last seen: 3 months, 8 days
Re: Ubuntu Hack [Re: Linux]
    #8976910 - 09/24/08 04:02 AM (15 years, 7 months ago)

> to hack a machine given you have physical access

Physical access to a machine negates all security, period.  The best I have seen is Plan 9 where they store a key in CMOS, but even that is breakable by a knowledgeable person.

> so is this something that just affects ubuntu or all linux installs with GRUB?

No, it is something that affects all machines regardless of OS, from Linux to Windows.  I doesn't matter if you have ubuntu, grub, lilo, winnt, or anything else.  If I have physical access to your computer, then I have access to everything on your computer.

If you want protection, use an encrypting file system that requires you to enter a password.  This is the only way to secure your data such that somebody with physical access to your machine cannot read your data.

> In short, there is no security if there's no physical security first.

Correct.


--------------------
Just another spore in the wind.

Extras: Filter Print Post Top
Jump to top Pages: 1

Shop: PhytoExtractum Kratom Powder for Sale   Left Coast Kratom Kratom Powder For Sale   Kraken Kratom Red Vein Kratom   Myyco.com Golden Teacher Liquid Culture For Sale   Bridgetown Botanicals CBD Concentrates


Similar ThreadsPosterViewsRepliesLast post
* Ubuntu Linux shymanta 917 7 02/11/08 07:59 PM
by entiformatie
* Ubuntu 7.10 (Gutsy Gibbon) Fungi_x 933 3 10/19/07 11:48 PM
by Fungi_x
* apache server in ubuntu imachavel 492 3 07/20/11 02:01 AM
by imachavel
* Installing Ubuntu to second hard drive somehow deleted the partitions on the first drive HagbardCeline 2,427 15 08/04/11 12:07 AM
by HagbardCeline
* I need an iphone 4 passcode hacked
( 1 2 3 all )
EnlilMDiscord 2,851 57 04/08/15 05:47 PM
by Enlil
* Email hacked, what do?
( 1 2 all )
Baby_Hitler 1,040 20 12/17/11 08:17 PM
by RonaldFuckingPaul
* Voter Records Get Hacked a Lot, And You Can Just Buy Them Anyway tdubz 522 3 10/10/16 06:16 AM
by Brian Jones
* how can i change a password i don't know on windows xp? Krishna 1,329 4 12/26/05 08:31 AM
by Krishna

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: trendal, automan, Northerner
628 topic views. 0 members, 0 guests and 1 web crawlers are browsing this forum.
[ Show Images Only | Sort by Score | Print Topic ]
Search this thread:

Copyright 1997-2024 Mind Media. Some rights reserved.

Generated in 0.016 seconds spending 0.004 seconds on 12 queries.