LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Closed Thread
 
Search this Thread
Old 05-18-2009, 07:03 AM   #1
Hi_This_is_Dev
Member
 
Registered: May 2009
Location: India
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254

Rep: Reputation: 18
Question How to break root's password?


Hi All,


As we know that at boot time when we see the OS selection screen we can press "e" to edit it that is Linux OS selection and enter single user mode from where we can easily break the root's password.

So, is there any other method do achieve the same result?


Thanks!

Dev.
 
Old 05-18-2009, 07:28 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,778
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Such discussions are not allowed on LQ. Please re-read the rules you agreed to when you joined.
 
Old 05-18-2009, 07:55 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,021
Blog Entries: 1

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
Hi,

Quote:
Originally Posted by Hi_This_is_Dev View Post
Hi All,
As we know that at boot time when we see the OS selection screen we can press "e" to edit it that is Linux OS selection and enter single user mode from where we can easily break the root's password.

So, is there any other method do achieve the same result?
Thanks!

Dev.
For maintenance purposes you can pass the 'single' parameter to the kernel but you would still need the 'root password'.

You can use your install cd/dvd to boot your system then perform mounts that can be chroot to the correct mount that allow you to edit as desired. These methods are used to correct problems on your system yet could be malicious performed.

The LQ rules do state;

Quote:
excerpt from LQ rules;

Posts containing information about cracking, piracy, warez, fraud or any topic that could be damaging to either LinuxQuestions.org or any third party will be immediately removed.
Do a LQ search on the method of chroot.
 
Old 05-18-2009, 08:49 AM   #4
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Using 'single user mode' seems to vary a bit between distributions and even their versions; earlier it was common that one could get root privileges by booting into that runlevel without any passwords asked, then some distributions started doing it so (by default) that one needed to enter root password even when booting into single-user mode, and now I again see that it works without the password. I wonder where it's all going..but if you don't set a password to your bootloader or BIOS, then I guess it's not much use to have one for single-user mode either.

All in all, if the disk is not encrypted, it's easy to break. When it is encrypted, it's just harder, not impossible. In the mean time check if other users can read files from your homedirectory; as odd as it sounds, the default policy on a lot of big distributions is to create files with permissions for others to read (but not modify) them..
 
Old 05-18-2009, 10:54 AM   #5
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Technically you could also use a live CD and just mount the HDD ... assuming the HDD is not encrypted.

I also question your motive for requesting such info. Whatever we will respond with kinda makes us accomplices to a potential crime, so I'd rather leave it as the simplest possible solutions.
 
Old 05-18-2009, 02:37 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
This is probably more help than we should be giving on this topic.

Closed
 
  


Closed Thread

Tags
break, password, root


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Forgot root's password. Help me. choconlongxu Linux - Newbie 2 04-13-2007 09:08 AM
KPackage requires root's password??? BigFoot13 Linux - Software 4 09-30-2006 10:01 PM
root's password not working under X blind_chipmunk Linux - General 8 05-12-2005 10:38 AM
root's password gone after upgrade supe Linux - Newbie 2 06-14-2004 10:23 PM
What is root's password in knoppix? MasterC Linux - General 6 06-23-2003 03:18 AM


All times are GMT -5. The time now is 08:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration