[afnog] afnog Digest, Vol 70, Issue 5:Fedora Root Pssword Reset

Oscar Otiende Rombo ORombo at Safaricom.co.ke
Tue Jan 5 12:03:45 UTC 2010


Hosea,

I have done it (reset root password) on Fedora 11 from GRUB. Kindly
append 'single' and not 'linux single'. This should take you to the root
user prompt in single user mode.

Regards,
Oscar.

-----Original Message-----
From: afnog-bounces at afnog.org [mailto:afnog-bounces at afnog.org] On Behalf
Of afnog-request at afnog.org
Sent: Tuesday, January 05, 2010 2:49 PM
To: afnog at afnog.org
Subject: afnog Digest, Vol 70, Issue 5

Send afnog mailing list submissions to
	afnog at afnog.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://afnog.org/mailman/listinfo/afnog
or, via email, send a message with subject or body 'help' to
	afnog-request at afnog.org

You can reach the person managing the list at
	afnog-owner at afnog.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of afnog digest..."


Today's Topics:

   1.  Nagios: localhost/nagios not responding (Benjamin Cobblah)
   2.  Nagios: localhost/nagios not responding (Benjamin Cobblah)
   3. Re:  Nagios: localhost/nagios not responding (Hervey Allen)
   4. Re:  Nagios: localhost/nagios not responding (Richard Zulu)
   5.  Recover Root Password on FC 11 and Missing GRUB Screen
      (Hosea Phiri)
   6. Re:  Recover Root Password on FC 11 and Missing GRUB Screen
      (Noah Sematimba)
   7.  Fwd: Recover Root Password on FC 11 and Missing GRUB Screen
      (Bruce Zamaere)
   8.   NDOutils addon (Richard Zulu)
   9. Re:  Fwd: Recover Root Password on FC 11 and Missing GRUB
      Screen (Hosea Phiri)


----------------------------------------------------------------------

Message: 1
Date: Mon, 4 Jan 2010 07:58:48 -0800 (PST)
From: Benjamin Cobblah <cbnayai at yahoo.co.uk>
To: afnog <afnog at afnog.org>
Subject: [afnog] Nagios: localhost/nagios not responding
Message-ID: <509184.42533.qm at web25003.mail.ukl.yahoo.com>
Content-Type: text/plain; charset="utf-8"

Hello Folks,

Anybody with nagios know-how? I installed nagios 3.2.0 in a debian
system without any problems. I run the web interface localhost/nagios
and keep getting /nagios not found on the server.

Can anybody help

Benjamin


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://afnog.org/pipermail/afnog/attachments/20100104/b7c83b77/attachme
nt-0001.htm>

------------------------------

Message: 2
Date: Mon, 4 Jan 2010 17:24:24 +0000 (GMT)
From: Benjamin Cobblah <cbnayai at yahoo.co.uk>
To: afnog <afnog at afnog.org>
Subject: [afnog] Nagios: localhost/nagios not responding
Message-ID: <852347.2628.qm at web25007.mail.ukl.yahoo.com>
Content-Type: text/plain; charset="utf-8"



Hello Folks,

Anybody with nagios know-how? I installed nagios 3.2.0 in a debian
system without any problems. I run the web interface localhost/nagios
and keep getting /nagios not found on the server.

In the log file i get the following service alert:
Warning: Return code of 127 for check of host 'localhost' was out of
bounds. Make sure the plugin you're trying to run actually exists.
HOST ALERT: localhost;DOWN;SOFT;1;(Return code of 127 is out of bounds -
plugin may be missing)

Can anybody help

Benjamin



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://afnog.org/pipermail/afnog/attachments/20100104/faf2bd21/attachme
nt-0001.htm>

------------------------------

Message: 3
Date: Mon, 04 Jan 2010 15:42:34 -0300
From: Hervey Allen <hervey at nsrc.org>
To: Benjamin Cobblah <cbnayai at yahoo.co.uk>
Cc: AFNOG <afnog at afnog.org>
Subject: Re: [afnog] Nagios: localhost/nagios not responding
Message-ID: <4B42369A.6020000 at nsrc.org>
Content-Type: text/plain; charset=UTF-8

On 1/4/10 2:24 PM, Benjamin Cobblah wrote:
> 
> Hello Folks,
>  
> Anybody with nagios know-how? I installed nagios 3.2.0 in a debian
> system without any problems. I run the web interface localhost/nagios
> and keep getting /nagios not found on the server.
>  
> In the log file i get the following service alert:
> 
> Warning: Return code of 127 for check of host 'localhost' was out of
> bounds. Make sure the plugin you're trying to run actually exists.
> 
> HOST ALERT: localhost;DOWN;SOFT;1;(Return code of 127 is out of bounds
-
> plugin may be missing)
> 
>  
> Can anybody help
>  

Hello Benjamin:

Do you have "localhost" defined in /etc/hosts?

Is Apache running?

# /etc/init.d/apache2 status

 or

# apache2ctl status

Cheers,
	- Hervey Allen


-- 
-------------------------------------------------
Hervey Allen      Network Startup Resource Center
hervey at nsrc.org GPG Key Fingerprint:
AC08 31CB E453 6C65 2AB3 4EDB CEEB 5A74 C6E5 624F



------------------------------

Message: 4
Date: Tue, 5 Jan 2010 09:35:55 +0300
From: Richard Zulu <richardzulu at gmail.com>
To: Hervey Allen <hervey at nsrc.org>
Cc: AFNOG <afnog at afnog.org>
Subject: Re: [afnog] Nagios: localhost/nagios not responding
Message-ID:
	<c8ef8aac1001042235u70f2c975n9d508a1d27d96002 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hallo Benjamin,

  This is what you have to do. Download the nagiosplugins tar archive
from the nagios website and then install it. After that restart Nagios
and you will have it running.

However, make sure apache is running on the server before starting
Nagios





-- 
Check out my Blog:
http://i-sakaza.blogspot.com

Have you tried Google trader?
http://www.google.co.ug/africa/trader



------------------------------

Message: 5
Date: Tue, 5 Jan 2010 00:50:05 -0800 (PST)
From: Hosea Phiri <phiri_hosea at yahoo.com>
To: AFNOG <afnog at afnog.org>
Subject: [afnog] Recover Root Password on FC 11 and Missing GRUB
	Screen
Message-ID: <525765.49978.qm at web51001.mail.re2.yahoo.com>
Content-Type: text/plain; charset="us-ascii"





All,

I have a client who lost root password for his machine running FC 11. I
made an attempt to recover password by trying to boot in single mode. I
am familiar with editing the GRUB boot menu and appending "linux single"
to make the server boot in single mode. Unfortunately the approach looks
impossible on this machine.

The machine boots differently. I noticed one major thing that looked
different from other versions of Fedora I have used before. It does not
bring up the Grub menu. It does not even show the services startup. It
goes straight into login prompt bypassing all other stages which I guess
run from background.

Any I dea?

I am told this has just started after loss of this password. Looking
forward to your usual useful tips.

Hosea


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://afnog.org/pipermail/afnog/attachments/20100105/2e4d1aae/attachme
nt-0001.htm>

------------------------------

Message: 6
Date: Tue, 5 Jan 2010 12:14:03 +0300
From: Noah Sematimba <ksemat at psg.com>
To: Hosea Phiri <phiri_hosea at yahoo.com>
Cc: AFNOG <afnog at afnog.org>
Subject: Re: [afnog] Recover Root Password on FC 11 and Missing GRUB
	Screen
Message-ID: <0A81B525-21DD-439E-B409-90F97B5F26AE at psg.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes



On Jan 5, 2010, at 11:50 AM, Hosea Phiri wrote:

>
>
> All,
>
> I have a client who lost root password for his machine running FC  
> 11. I made an attempt to recover password by trying to boot in  
> single mode. I am familiar with editing the GRUB boot menu and  
> appending "linux single" to make the server boot in single mode.  
> Unfortunately the approach looks impossible on this machine.
>
> The machine boots differently. I noticed one major thing that looked  
> different from other versions of Fedora I have used before. It does  
> not bring up the Grub menu. It does not even show the services  
> startup. It goes straight into login prompt bypassing all other  
> stages which I guess run from background.
>
> Any I dea?

> I haven't used Fedora in a good number of years but you should be  
> able to  boot off a rescue CD, mount the root partition and edit the  
> shadow file directly removing the encrypted password and thus  
> allowing you to boot the main system and login without a password.

> Noah.




------------------------------

Message: 7
Date: Tue, 5 Jan 2010 12:30:06 +0200
From: Bruce Zamaere <bzamaere at gmail.com>
To: afnog <afnog at afnog.org>
Subject: [afnog] Fwd: Recover Root Password on FC 11 and Missing GRUB
	Screen
Message-ID:
	<fec57a0c1001050230j502146ecq79c87fcb295b3c82 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hosea,

Sorry sent your response to Noah. See below... should give you the grub
menu. (fingers crossed).

/Bruce.

---------- Forwarded message ----------
From: Bruce Zamaere <bzamaere at gmail.com>
Date: Tue, Jan 5, 2010 at 12:27 PM
Subject: Re: [afnog] Recover Root Password on FC 11 and Missing GRUB
Screen
To: Noah Sematimba <ksemat at psg.com>


Hosea,

Could you try holding down the shift key during boot... I believe this
works
with the new Ubuntu's and Fedora's

regards,

/Bruce.


On Tue, Jan 5, 2010 at 11:14 AM, Noah Sematimba <ksemat at psg.com> wrote:

>
>
> On Jan 5, 2010, at 11:50 AM, Hosea Phiri wrote:
>
>
>>
>> All,
>>
>> I have a client who lost root password for his machine running FC 11.
I
>> made an attempt to recover password by trying to boot in single mode.
I am
>> familiar with editing the GRUB boot menu and appending "linux single"
to
>> make the server boot in single mode. Unfortunately the approach looks
>> impossible on this machine.
>>
>> The machine boots differently. I noticed one major thing that looked
>> different from other versions of Fedora I have used before. It does
not
>> bring up the Grub menu. It does not even show the services startup.
It goes
>> straight into login prompt bypassing all other stages which I guess
run from
>> background.
>>
>> Any I dea?
>>
>
>  I haven't used Fedora in a good number of years but you should be
able to
>>  boot off a rescue CD, mount the root partition and edit the shadow
file
>> directly removing the encrypted password and thus allowing you to
boot the
>> main system and login without a password.
>>
>
>  Noah.
>>
>
>
> _______________________________________________
> afnog mailing list
> http://afnog.org/mailman/listinfo/afnog
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://afnog.org/pipermail/afnog/attachments/20100105/39138c41/attachme
nt-0001.htm>

------------------------------

Message: 8
Date: Tue, 5 Jan 2010 14:28:25 +0300
From: Richard Zulu <richardzulu at gmail.com>
To: AFNOG <afnog at afnog.org>
Subject: [afnog]  NDOutils addon
Message-ID:
	<c8ef8aac1001050328l22cf82c5sd21192cf015d83b6 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hallo,

Am installing the NDOUTILS addon for my nagios installing however when
compiling the NDO broker module and NDO2B daemon i run the configure
script without pointing it to the location of mysql development
libraries on my system. I did not have any then.

However, I have installed the development libraries, does anyone know
how i can point my broker module and daemon to those libraries without
going through the hassle of recompiling.

I am running ubuntu Karmic.


-- 
Check out my Blog:
http://i-sakaza.blogspot.com

Have you tried Google trader?
http://www.google.co.ug/africa/trader



------------------------------

Message: 9
Date: Tue, 5 Jan 2010 03:48:49 -0800 (PST)
From: Hosea Phiri <phiri_hosea at yahoo.com>
To: afnog <afnog at afnog.org>
Subject: Re: [afnog] Fwd: Recover Root Password on FC 11 and Missing
	GRUB	Screen
Message-ID: <877599.54392.qm at web51007.mail.re2.yahoo.com>
Content-Type: text/plain; charset="us-ascii"

Hi Bruce,

Thanks for the tip, however I tried it before sending to the list and it
failed. I know it works for Fedora; I can't understand why it behaved
differently on FC11.

By the way recovering password using the installation DVD in rescue mode
worked, I have the password, but the grub issue is still oustanding.
Tips are still welcome.

Regards,

Hosea


________________________________
From: Bruce Zamaere <bzamaere at gmail.com>
To: afnog <afnog at afnog.org>
Sent: Tue, January 5, 2010 12:30:06 PM
Subject: [afnog] Fwd: Recover Root Password on FC 11 and Missing GRUB
Screen

Hosea,

Sorry sent your response to Noah. See below... should give you the grub
menu. (fingers crossed).

/Bruce.


---------- Forwarded message ----------
From: Bruce Zamaere <bzamaere at gmail.com>
Date: Tue, Jan 5, 2010 at 12:27 PM
Subject: Re: [afnog] Recover Root Password on FC 11 and Missing GRUB
Screen
To: Noah Sematimba <ksemat at psg.com>


Hosea,

Could you try holding down the shift key during boot... I believe this
works with the new Ubuntu's and Fedora's

regards,

/Bruce.



On Tue, Jan 5, 2010 at 11:14 AM, Noah Sematimba <ksemat at psg.com> wrote:


>
>>On Jan 5, 2010, at 11:50 AM, Hosea Phiri wrote:
>
>
>
>>
>>>>All,
>>
>>>>I have a client who lost root password for his machine running FC
11. I made an attempt to recover password by trying to boot in single
mode. I am familiar with editing the GRUB boot menu and appending "linux
single" to make the server boot in single mode. Unfortunately the
approach looks impossible on this machine.
>>
>>>>The machine boots differently. I noticed one major thing that looked
different from other versions of Fedora I have used before. It does not
bring up the Grub menu. It does not even show the services startup. It
goes straight into login prompt bypassing all other stages which I guess
run from background.
>>
>>>>Any I dea?
>>
>
>>>I haven't used Fedora in a good number of years but you should be
able to  boot off a rescue CD, mount the root partition and edit the
shadow file directly removing the encrypted password and thus allowing
you to boot the main system and login without a password.
>>
>
>>>Noah.
>>
>
>>_______________________________________________
>>afnog mailing list
>http://afnog.org/mailman/listinfo/afnog
>


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://afnog.org/pipermail/afnog/attachments/20100105/b6b54a23/attachme
nt.htm>

------------------------------

_______________________________________________
afnog mailing list

End of afnog Digest, Vol 70, Issue 5
************************************
#####################################################################################
NOTE:
The information in this email and any attachments is confidential and may be legally 
privileged. It is intended only for the use of the named addressee. 

Emails are susceptible to alteration and their integrity cannot be guaranteed. 
Safaricom Limited does not accept legal responsibility for the contents of this 
email if the same is found to have been altered or manipulated. 
The contents and opinions expressed in this email are solely those of the author 
and do not necessarily represent those of Safaricom Limited. Safaricom Limited 
disclaims any liability to the fullest extent permissible by law for any consequences 
that may arise from the contents of this email including but not limited to personal 
opinions, malicious and/or defamatory information and data/codes that may compromise 
or damage the integrity of the recipient’s information technology systems. 
If you are not the intended recipient please notify the sender and immediately delete 
this email from your system.Unless expressly stated by a duly authorised officer of 
Safaricom Limited nothing contained in this email message may be construed as being 
an offer to contract or an acceptance of an offer capable of constituting a contract 
between Safaricom Limited and any recipient(s) of this email.
 
#####################################################################################



More information about the afnog mailing list