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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-05-2002, 12:09 PM
|
#1
|
|
LQ Newbie
Registered: Dec 2002
Posts: 2
Rep:
|
Recovering Lost Admin. Password
I need to recover the Administrator passwrod on my Linux Red Hat box. I have found a way to do it (I think): when Linux is booting up, press ctrl-x to get into the command promtp mode. You are then presented with a screen like:
boot>
From here I enter single user mode and when in in single user mode I type in the command: password, and then enter in a new password.
This then allows me to boot up Linux as "root".
However, my query is, do I have full administrator access logged in this way or not because it seems like a very simple way for anyone to crack a UNIX/LINUX box? Surely it can't be this easy.
If in fact this does not give me full administrator privilieges then do you guys know any other ways to do so?
Any help would be greatly appreciated.
Cheers!
|
|
|
|
12-05-2002, 12:13 PM
|
#2
|
|
Senior Member
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345
Rep:
|
As far as I am aware, this does allow you to change root's password easily, and so could be used to gain unwanted root access... however, in order to get into single mode, you must be at the keyboard when the thing boots up, so it would not be possible to do this from a networked machine. You can password protect your lilo/grub setup so that you need another password to boot into anything except for the default setting, for added security.
|
|
|
|
12-05-2002, 02:29 PM
|
#3
|
|
Member
Registered: Nov 2002
Distribution: Slackware
Posts: 37
Rep:
|
hey there Mr Neroazzurri
try this thread
this should take care of all your questions, it did mine. 
|
|
|
|
03-14-2003, 04:58 PM
|
#4
|
|
Member
Registered: Feb 2003
Distribution: xNIX
Posts: 121
Rep:
|
grub is more secure bcz it have its own grub loader password other than the roots passowrd first u have to enter the grub password to go into the single user mode
|
|
|
|
03-14-2003, 05:26 PM
|
#5
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,711
|
lilo has password protection too. just as secure.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:45 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
|
|