Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-31-2006, 01:31 AM
|
#1
|
Member
Registered: Oct 2006
Posts: 80
Rep:
|
Forgot root password
Hi,
Need help.... Is there a way how I can get my root password?
|
|
|
10-31-2006, 01:46 AM
|
#2
|
Member
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940
Rep:
|
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.
|
|
|
|
10-31-2006, 04:11 AM
|
#3
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
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?
|
|
|
10-31-2006, 05:29 AM
|
#4
|
Senior Member
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123
Rep:
|
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.
|
|
|
10-31-2006, 05:56 AM
|
#5
|
Member
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940
Rep:
|
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!
|
|
|
10-31-2006, 05:56 AM
|
#6
|
LQ Newbie
Registered: Oct 2006
Location: Xanadu
Distribution: debs, grubs, nix & nax
Posts: 4
Rep:
|
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?
|
|
|
10-31-2006, 06:01 AM
|
#7
|
Member
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940
Rep:
|
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
|
|
|
10-31-2006, 06:06 AM
|
#8
|
Senior Member
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123
Rep:
|
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.
|
|
|
|
10-31-2006, 06:27 AM
|
#9
|
Member
Registered: Aug 2005
Distribution: Smoothwall
Posts: 283
Rep:
|
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.
|
|
|
10-31-2006, 09:42 AM
|
#10
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 11:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|