LinuxQuestions.org
Help answer threads with 0 replies.
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 12-05-2002, 01:09 PM   #1
Mr Neroazzurri
LQ Newbie
 
Registered: Dec 2002
Posts: 2

Rep: Reputation: 0
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!
 
Old 12-05-2002, 01:13 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 57
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.
 
Old 12-05-2002, 03:29 PM   #3
j0ck
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 37

Rep: Reputation: 15
hey there Mr Neroazzurri
try this thread
this should take care of all your questions, it did mine.
 
Old 03-14-2003, 05:58 PM   #4
farhan
Member
 
Registered: Feb 2003
Distribution: xNIX
Posts: 121

Rep: Reputation: 15
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
 
Old 03-14-2003, 06:26 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
lilo has password protection too. just as secure.
 
  


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
Recovering Lost Data lawrencegoodman Linux - General 1 04-04-2004 01:57 PM
Help a recovering Windows admin with webmail. bitessy Linux - Software 6 10-02-2003 12:57 AM
Recovering Windows Admin needs help with Postfix bitessy Linux - Networking 1 09-27-2003 06:01 PM
Recovering Windows admin needs help with postfix bitessy Linux - Software 0 09-26-2003 03:21 AM
Recovering Lost Files gonus Linux - Software 1 08-08-2003 03:14 PM


All times are GMT -5. The time now is 05:48 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration