LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-31-2006, 01:31 AM   #1
guy_ripper
Member
 
Registered: Oct 2006
Posts: 80

Rep: Reputation: 15
Forgot root password


Hi,

Need help.... Is there a way how I can get my root password?
 
Old 10-31-2006, 01:46 AM   #2
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
best thing to do is to google on this one - i don't want to post an howto on LQ!

Quote:
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.
 
Old 10-31-2006, 04:11 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
If you search on this site and on google for "lost root password", I am sure you will get lots of useful info. Is the lost root password for your own system?
 
Old 10-31-2006, 05:29 AM   #4
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Jeez, is it so hard to help? I'm sure you all forgot your root password before.
It's not like this is classified information and whatever he plans to do with it is his responsibility, not yours. Hence, this has nothing to do with "cracking, piracy, warez, fraud or any topic", Moderators, correct me if you feel I'm wrong here...

guy_ripper: boot your kernel with the appended option init=/bin/sh.
You'll find yourself having a nice shell where you can change your root password with the program passwd.
 
Old 10-31-2006, 05:56 AM   #5
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
Quote:
Originally Posted by iceman47
Jeez, is it so hard to help?
so telling somebody where the answer can be found is not 'help'?
are you saying that if somebody tells you to read a certain man page - to google for something or to search the previous posts on a board for a given phrase/term is not help?

It is a pretty good hint and I think expecting people to do some own research is asking too much.

everyting is the users own responsibility - does not mean I have to tell the user how it works - not on LQ. the internet holds more than enough info and simply that the question has been posted shows the user has not done any research of his own beforehand!
 
Old 10-31-2006, 05:56 AM   #6
r³nd³rª
LQ Newbie
 
Registered: Oct 2006
Location: Xanadu
Distribution: debs, grubs, nix & nax
Posts: 4

Rep: Reputation: 0
OMG! Does that mean that anybody with physical access to your compu can change the root pw? Just slap in a live-cd, edit the bootloader and off you go? How to harden a system against this?
 
Old 10-31-2006, 06:01 AM   #7
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
if your system has not been secured - yes it does!

you can secure your system by setting a bootmanager password , a bios password, and not allowing the system to boot from a cd or any other device but the hdd
 
Old 10-31-2006, 06:06 AM   #8
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Quote:
Originally Posted by Nathanael
so telling somebody where the answer can be found is not 'help'?
...
Nathanael, you're trolling.
I don't want to go further on this one, but the reason why you didn't post the sollution wasn't because you wanted to point in the right direction, it was because of this:
Quote:
Originally Posted by Nathanael
Quote:
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.
 
Old 10-31-2006, 06:27 AM   #9
slantoflight
Member
 
Registered: Aug 2005
Distribution: Smoothwall
Posts: 283
Blog Entries: 3

Rep: Reputation: 35
Quote:
Originally Posted by r³nd³rª
OMG! Does that mean that anybody with physical access to your compu can change the root pw? Just slap in a live-cd, edit the bootloader and off you go? How to harden a system against this?
Physical security for physical hacking. Laser grids and machine guns usually work best.
 
Old 10-31-2006, 09:42 AM   #10
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Pointing some to where they can find the solution is actually helping them. This topic has been thoroughly discussed here and elsewhere so if someone makes an effort to search first before starting a new thread, they can usually find an answer in past threads.

I am sure Nathanael was trying to make sure that the information given would not be used for malicious purposes and thats why he mentioned the LQ rules. Its perfectly fine to show someone how to retrieve their lost root password, but who knows whether the info is going to be used for malicious purposes or not, so I can understand why some people are unwilling to answer such questions or will only provide detailed info if they know that its not going to be used for the wrong reasons.
 
  


Reply


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
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 04:11 AM
Forgot My Root Password bluesky2_1986 SUSE / openSUSE 7 07-21-2006 11:47 AM
Forgot root password muru Linux - Security 5 09-26-2005 12:37 AM
Forgot Root Password Ironpaws Linux - Software 6 07-03-2004 04:48 PM
forgot root password ust Linux - General 5 07-03-2004 01:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:03 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration