LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-18-2004, 12:31 AM   #1
gstate
LQ Newbie
 
Registered: May 2004
Posts: 2

Rep: Reputation: 0
Localhost Login????


I just got a old laptop that my dad picked up from work that someone had thrown away. I turned it on and it already had redhat 7.3 loaded on it. So I turned it on and it loaded up and it says: "localhost login:" I dont know the password or login or anything, and there are no options when it loads up, it just boots up and goes to this screen. Any suggestions?
 
Old 05-18-2004, 01:43 AM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Circumventing authentication measures in this case is a bit shady. I would recommend downloading a new linux distro and doing a complete format and re-install. Redhat 7.3 isn't supported any more, so using someone elses linux installation is probably a bad idea. If you insist on gaining access, there are ways to do so, but this isn't really the site to find them.
 
Old 05-18-2004, 01:44 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Boot into runlevel 1, change root password.
 
Old 05-18-2004, 02:59 AM   #4
gstate
LQ Newbie
 
Registered: May 2004
Posts: 2

Original Poster
Rep: Reputation: 0
how do i boot into level 1??? sorry im new
 
Old 05-18-2004, 01:43 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
On boot at the LILO prompt type (w/o quotes) "1", "single", "S" or "init=/bin/sh". Once the machine has successfully entered runlevel 1 run "passwd" to change the root account password. Another way would be to boot your distro's rescue cdrom or floppy and run passwd from there. You'll need that if runlevel 1 is "protected" by running "sulogin" instead of "login".
 
Old 05-18-2004, 02:40 PM   #6
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
I'd recommend going with a new linux distro (or at least, a "fresh" copy) for the machine. As was suggested, something supported.

(*cough*somethinglikeslackware*cough* )

-- Poetics
 
Old 09-28-2004, 03:23 PM   #7
Deno521
LQ Newbie
 
Registered: Sep 2004
Posts: 12

Rep: Reputation: 0
my own pc boots to localhost login, i know my password and all that but but no idea what to do. its at runlevel 6 and im using mandrake 10.
it ask for password but i cant type anything in

Last edited by Deno521; 09-28-2004 at 03:39 PM.
 
Old 10-13-2004, 08:10 PM   #8
Post Modern
Member
 
Registered: Nov 2002
Location: Massachusetts
Distribution: Fedora Core, RH, Mandrake, Xandros, Knoppix
Posts: 110

Rep: Reputation: 15
So does mine...

.
.
And, I'm running Xandros -

ACtually, I can type in the password, but it just doesn't show up on the screen, but it works.

PM
.
.
 
Old 10-13-2004, 09:02 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,759

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
Quote:
Originally posted by Deno521
my own pc boots to localhost login, i know my password and all that but but no idea what to do. its at runlevel 6 and im using mandrake 10.
it ask for password but i cant type anything in
Run level 3 is command line
Run level 5 is X i.e GUI, KDE, Gnome etc.
Run level 6 reboots the OS.

Passwords are not echoed to the screen i.e no **** because that way if anyone is looking over your shoulder it is harder to see the number of characters being typed.
 
  


Reply



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
localhost login erick66 Linux - Newbie 7 11-08-2005 07:50 PM
localhost login???? terry.trent Linux - Newbie 3 10-18-2003 07:02 PM
localhost login Melo Linux - Software 10 05-18-2003 10:43 PM
localhost login, how?? magis Linux - Newbie 4 11-24-2001 05:05 AM
Localhost Login Roy Linux - General 3 05-14-2001 04:49 PM

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

All times are GMT -5. The time now is 06:24 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