LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2012, 03:43 AM   #1
tmax58
LQ Newbie
 
Registered: Sep 2012
Location: Illinois
Posts: 2

Rep: Reputation: Disabled
Lost password and username on linux firewall box


Hello all and thanks in advance for any insight you may have.

It's been 35 years or so since I worked on a Linux type OS, so I am nearly blank. Please bear with me as I try to explain my issue.

I have inherited this job for a local company which runs a Linux machine with smoothwall as a firewall, the old IT guy left and did not leave a network map or passwords or live disks ... not a thing.

The company switch ISP from DSL and went with Mediacom cable there were no IT person there or anybody that knew anything about the system. Of course nothing is working now since the ISP and IP was changed. The cable company merely installed the modem and plugged it into the firewall ... and they were done.

That's when I come in, thinking this was going to be a simple outside IP change, I booted up the box, which also boots Smoothwall automatically and it when finally came to a stop, it wanted a Login and password ... ooops!

I can't tell which version of linux it is because everything scrolls so fast that I can't catch any linux version on boot, I even tried the "Pause/Break" key to stop the scrolling, but no luck.

Now I have been reading a lot here about how to reset the password on Linux, and from what I can understand the way to do this is to press ESC when Grub starts loading to get to the main menu where you can see a list of available kernel ... etc.

The only 2 items that show on the Grub menu are the following;

Smoothwall-Runtime
Smoothwall-runtimebig

When I select Smoothwall-runtime from the above listing and press "e" to edit, this what I have;

Kernel /vmlinuz-2.6.32.26+drm33.12-0-runtime
root=uuid=29e722ba-2d29- initrd / initrd-26-32-26+drm33.12.0-runtime.bz2
savedefault

I looked at runtimebig and it is the same except runtime is replaced with runtimebig.

Since all the examples I have found here all show the Grub menu with some kind of linux name and not smoothwall, I am not sure what to do. I did not try to edit anything yet, I thought I'd better consult with someone before I screwed thing up and put those folks in even worse shape.

The Grub version is 0.97, from what I can gather, it's an older version.

well, I hope I made some sense. I am not sure if I am even on the right track, any help you can offer will be more than greatly appreciated.

It's 3:30am here ... yep, I am definitely losing sleep over this issue ... lol.

Tmax

Last edited by tmax58; 09-29-2012 at 03:44 AM.
 
Old 09-29-2012, 04:09 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,353
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
Quote:
Originally Posted by tmax58 View Post
I am not sure what to do. I did not try to edit anything yet,
At the GRUB command line "editing" means just a temporary change. For permanent modification you need to edit GRUB files in /boot/grub, /boot/grub2 or /etc directly.

Append either " single" or " init=/bin/sh" to the end of your "root" line:
Code:
root=uuid=29e722ba-2d29- initrd/initrd-26-32-26+drm33.12.0-runtime.bz2 init=/bin/sh
If it grants you a shell run 'passwd root' to set a new password.
Also change the password for the "setup" user and any web interface virtual users.
 
Old 09-29-2012, 11:05 AM   #3
tmax58
LQ Newbie
 
Registered: Sep 2012
Location: Illinois
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the reply and info unSpawn, I am going to the office ASAP to try this, I will let you know how this worked out. 22541 posts ... wow that is a lot of posts, impressive thanks for helping out!!
 
  


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
redhat linux 6 beta username and password is disabled in authentication box parkarnoor Linux - Newbie 1 01-24-2012 07:56 PM
HP2133 mini notebook running Linux Suse - lost password/username Ally Bear Linux - Laptop and Netbook 9 05-25-2010 02:16 AM
lost username and password andrew825 Linux - General 6 05-18-2007 12:37 AM
LOST username and password gloveny Linux - Security 8 09-01-2006 12:25 PM
Lost username AND password HuggyBear Linux - General 5 08-18-2003 09:20 AM


All times are GMT -5. The time now is 06:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration