Re: Problems booting operating system and with root password

2006-05-30 Thread Aaron Holmes

Miguel wrote:

Atom Powers wrote:


On 5/26/06, Miguel [EMAIL PROTECTED] wrote:


Hi, i have a similar problem, i forgot my root password and the server
its in a remote colocation site, is there a way to recover the 
encrypted

password and crackit some way, i have my normal account (which is in
wheel group), i even know that the root's pass begings with
MAG_something, but i really cant remember the complete root's pass,
rebooting in single user mode is my best bet?



If you are in wheel, then you should be able to sudo su to switch to
the root account and then passwd root to reset the password.


:-(
No luck, this is the error

 sudo su

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

   #1) Respect the privacy of others.
   #2) Think before you type.
   #3) With great power comes great responsibility.

Password:
mmiranda is not in the sudoers file.  This incident will be reported.
 sudo su
mmiranda is not in the sudoers file.  This incident will be reported.
 passwd root
passwd: permission denied


I entered my account's password...

Anything more?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



try using a login who is in the sudoers file
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems booting operating system and with root password

2006-05-30 Thread Aaron Holmes

Polina Mnouskina wrote:

Hello.
   
  I am working for the company, that is using FreeBSD on the server mashins.  At the moment we have two problems: First, one of the mashins give no kernael error on the boot. Second, we have lost our root password to the second one. Is there a way to fix any of this two problems without reinstaling the system. 
   
  Please, answer asap. Any help (free or paid) will be highly appriciated.



-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

  
Well first you need to spell correctly, and secondly, you need to give 
us more information.

For your first error, I have no idea what your problem is or how to fix it.
For you lost root password, boot into single user mode (how to depends 
on your version of FreeBSD)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems booting operating system and with root password

2006-05-30 Thread Aaron Holmes

Miguel wrote:

Andy Greenwood wrote:


I don't know what you mean by kernel errors on boot, but you can
recover your root password by booting into single user mode and then
running passwd.



Hi, i have a similar problem, i forgot my root password and the server 
its in a remote colocation site, is there a way to recover the 
encrypted password and crackit some way, i have my normal account 
(which is in wheel group), i even know that the root's pass begings 
with MAG_something, but i really cant remember the complete root's 
pass, rebooting in single user mode is my best bet?


---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


There aren't any vulnerabilities (if i recall) for the passwd hashes. 
your best bet is single user mode

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Problems booting operating system and with root password

2006-05-29 Thread Sam Speranini
Hi there,

I have booted up in single user mode because the option is available at
startup but it prompts me with: Enter full pathname of shell or return for
/bin/sh

Doesn't matter what I put in or leave it doesn't give me anything to make
changes to root password. There are really no commands that I can use after
this point. Any suggestions on moving forward to changing or removing the
root password. It may sound like a stupid question but and steps would
really help.

Thank you for all responses.

Sam


-Original Message-
From: Bill Moran [mailto:[EMAIL PROTECTED]
Sent: Friday, May 26, 2006 5:04 PM
To: Sam Speranini
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
freebsd-questions@freebsd.org
Subject: Re: Problems booting operating system and with root password


Sam Speranini [EMAIL PROTECTED] wrote:

 Thank you for the quick response and I will try booting up in single mode
 for the root password issue.
 One of our main boxes at boot up comes up with the error message below and
 goes no further. It seems like the kernel is missing or got corrupted. The
 box ran fine till yesterday morning when we noticed it was at this stage.
Is
 there anything that can be done to recover.

If this machine worked before, then _something_ has occurred to corrupt
data on disk.  Some possible reasons are breakin, operator error, or
hardware failure.

If you're not _sure_ this was caused by operator error, then you should
be afraid: either your box was compromised or your hard drives are
failing.

In either of those scenerios, you need to rebuild the box, possibly after
replacing hardware.  Hopefully you have backups, if not, you may be
forking out good money for a data recovery company to extract your
data off a damaged hard drive.  If it's a breakin, you might be able
to boot the system off a live CD (such as FreeSBIE) and get your data
off the drive before rebuilding.  If it's a hardware failure, you can
try the liveCD thing, but it's less likely to work.

Good luck.

 Press Ctrl-E for BMC Setup within 5 sec.
 No /boot/loader

 FreeBSD /i386 boot
 Default: 0:da(0,a)/kernel
 boot:
 No /Kernel

 FreeBSD /i386 boot
 Default: 0:da(0,a)/kernel
 boot:



--
Bill Moran

Two by two, hands of blue.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Problems booting operating system and with root password

2006-05-29 Thread robert
On Mon, 2006-05-29 at 12:50 -0400, Sam Speranini wrote:
 Hi there,
 
 I have booted up in single user mode because the option is available at
 startup but it prompts me with: Enter full pathname of shell or return for
 /bin/sh
 
 Doesn't matter what I put in or leave it doesn't give me anything to make
 changes to root password. There are really no commands that I can use after
 this point. Any suggestions on moving forward to changing or removing the
 root password. It may sound like a stupid question but and steps would
 really help.
 
 Thank you for all responses.
 
 Sam

snip

Sam,

A very quick google search gave the answer with loads of hits.

Try the first one:

http://lantech.geekvenue.net/chucktips/jason/chuck/1002317496/addPostingForm

Rob



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems booting operating system and with root password

2006-05-26 Thread Andy Greenwood

I don't know what you mean by kernel errors on boot, but you can
recover your root password by booting into single user mode and then
running passwd.

On 5/26/06, Polina Mnouskina [EMAIL PROTECTED] wrote:

Hello.

  I am working for the company, that is using FreeBSD on the server mashins.  
At the moment we have two problems: First, one of the mashins give no kernael 
error on the boot. Second, we have lost our root password to the second one. Is 
there a way to fix any of this two problems without reinstaling the system.

  Please, answer asap. Any help (free or paid) will be highly appriciated.


-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems booting operating system and with root password

2006-05-26 Thread Adrian Pavone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andy Greenwood wrote:
 I don't know what you mean by kernel errors on boot, but you can
 recover your root password by booting into single user mode and then
 running passwd.
 
 On 5/26/06, Polina Mnouskina [EMAIL PROTECTED] wrote:
 Hello.

   I am working for the company, that is using FreeBSD on the server
 mashins.  At the moment we have two problems: First, one of the
 mashins give no kernael error on the boot. Second, we have lost our
 root password to the second one. Is there a way to fix any of this two
 problems without reinstaling the system.

   Please, answer asap. Any help (free or paid) will be highly
 appriciated.


 -
 New Yahoo! Messenger with Voice. Call regular phones from your PC and
 save big.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

Unless single user mode is set to insecure, in which case that wouldn't
recover the password.

You could always use a different bootCD and chroot into the FreeBSD
system, then change the password.

Or bootCD and remove the root password hash from /etc/passwd and /etc/shadow

- --
This email address has expired. Please contact me for my new address.

Please obtain my pgp public key from pgp.mit.edu before sending me any
private mail, otherwise your email will likely be filtered incorrectly
and possibly junked.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEd1dC0JHtFv5fxW8RAnmQAJ9gLHzDBvXSQ1zvVa5I6Ci98dxOnACeNXPU
E2/n34T7MKwDsv8P8bmzrDg=
=2bpV
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Problems booting operating system and with root password

2006-05-26 Thread Sam Speranini
Thank you for the quick response and I will try booting up in single mode
for the root password issue.
One of our main boxes at boot up comes up with the error message below and
goes no further. It seems like the kernel is missing or got corrupted. The
box ran fine till yesterday morning when we noticed it was at this stage. Is
there anything that can be done to recover.


Press Ctrl-E for BMC Setup within 5 sec.
No /boot/loader

FreeBSD /i386 boot
Default: 0:da(0,a)/kernel
boot:
No /Kernel

FreeBSD /i386 boot
Default: 0:da(0,a)/kernel
boot:

Thanks 

Sam 

-Original Message-
From: Andy Greenwood [mailto:[EMAIL PROTECTED]
Sent: Friday, May 26, 2006 3:41 PM
To: Polina Mnouskina
Cc: freebsd-questions@freebsd.org
Subject: Re: Problems booting operating system and with root password


I don't know what you mean by kernel errors on boot, but you can
recover your root password by booting into single user mode and then
running passwd.

On 5/26/06, Polina Mnouskina [EMAIL PROTECTED] wrote:
 Hello.

   I am working for the company, that is using FreeBSD on the server
mashins.  At the moment we have two problems: First, one of the mashins give
no kernael error on the boot. Second, we have lost our root password to the
second one. Is there a way to fix any of this two problems without
reinstaling the system.

   Please, answer asap. Any help (free or paid) will be highly appriciated.


 -
 New Yahoo! Messenger with Voice. Call regular phones from your PC and save
big.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Problems booting operating system and with root password

2006-05-26 Thread Miguel

Andy Greenwood wrote:


I don't know what you mean by kernel errors on boot, but you can
recover your root password by booting into single user mode and then
running passwd.



Hi, i have a similar problem, i forgot my root password and the server 
its in a remote colocation site, is there a way to recover the encrypted 
password and crackit some way, i have my normal account (which is in 
wheel group), i even know that the root's pass begings with 
MAG_something, but i really cant remember the complete root's pass, 
rebooting in single user mode is my best bet?


---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems booting operating system and with root password

2006-05-26 Thread Adrian Pavone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Miguel wrote:
 Andy Greenwood wrote:
 
 I don't know what you mean by kernel errors on boot, but you can
 recover your root password by booting into single user mode and then
 running passwd.
 
 
 Hi, i have a similar problem, i forgot my root password and the server
 its in a remote colocation site, is there a way to recover the encrypted
 password and crackit some way, i have my normal account (which is in
 wheel group), i even know that the root's pass begings with
 MAG_something, but i really cant remember the complete root's pass,
 rebooting in single user mode is my best bet?
 
 ---
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

It is easiest if the system's single user mode hasn't been locked down

If single user mode HAS been locked down (ie. needs the root password),
then you will need a boot disc so you can chroot to your FreeBSD system
from another, or so you can directly edit the /etc/passwd or /etc/shadow
 file.

The password hash *MIGHT* also be in one of those two files, depending
on your configuration.

Regards,
Adrian

- --
This email address has expired. Please contact me for my new address.

Please obtain my pgp public key from pgp.mit.edu before sending me any
private mail, otherwise your email will likely be filtered incorrectly
and possibly junked.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEd2Fs0JHtFv5fxW8RAgfhAJ0RQ3CA3PjofAjYERytNZ2JrGdmMQCcDflK
lcgQRMkKPW+wFU30WLeeyHw=
=dtu/
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems booting operating system and with root password

2006-05-26 Thread Atom Powers

On 5/26/06, Miguel [EMAIL PROTECTED] wrote:

Hi, i have a similar problem, i forgot my root password and the server
its in a remote colocation site, is there a way to recover the encrypted
password and crackit some way, i have my normal account (which is in
wheel group), i even know that the root's pass begings with
MAG_something, but i really cant remember the complete root's pass,
rebooting in single user mode is my best bet?



If you are in wheel, then you should be able to sudo su to switch to
the root account and then passwd root to reset the password.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems booting operating system and with root password

2006-05-26 Thread Adrian Pavone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Adrian Pavone wrote:
 Miguel wrote:
 Andy Greenwood wrote:

 I don't know what you mean by kernel errors on boot, but you can
 recover your root password by booting into single user mode and then
 running passwd.

 Hi, i have a similar problem, i forgot my root password and the server
 its in a remote colocation site, is there a way to recover the encrypted
 password and crackit some way, i have my normal account (which is in
 wheel group), i even know that the root's pass begings with
 MAG_something, but i really cant remember the complete root's pass,
 rebooting in single user mode is my best bet?

 ---
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


 
 It is easiest if the system's single user mode hasn't been locked down
 
 If single user mode HAS been locked down (ie. needs the root password),
 then you will need a boot disc so you can chroot to your FreeBSD system
 from another, or so you can directly edit the /etc/passwd or /etc/shadow
  file.
 
 The password hash *MIGHT* also be in one of those two files, depending
 on your configuration.
 
 Regards,
 Adrian
 
 --
 This email address has expired. Please contact me for my new address.
 
 Please obtain my pgp public key from pgp.mit.edu before sending me any
 private mail, otherwise your email will likely be filtered incorrectly
 and possibly junked.

And I'll try that again with the correct timestamp.
__
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

- --
This email address has expired. Please contact me for my new address.

Please obtain my pgp public key from pgp.mit.edu before sending me any
private mail, otherwise your email will likely be filtered incorrectly
and possibly junked.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEd2qc0JHtFv5fxW8RAqFHAKCKpl5td8WrAyIO09ef/0RfUZ/PigCeM+zR
Bx3V7fekw6qN61CUo/cSmfk=
=QHpz
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems booting operating system and with root password

2006-05-26 Thread Bill Moran
Adrian Pavone [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Miguel wrote:
  Andy Greenwood wrote:
  
  I don't know what you mean by kernel errors on boot, but you can
  recover your root password by booting into single user mode and then
  running passwd.
  
  Hi, i have a similar problem, i forgot my root password and the server
  its in a remote colocation site, is there a way to recover the encrypted
  password and crackit some way, i have my normal account (which is in
  wheel group), i even know that the root's pass begings with
  MAG_something, but i really cant remember the complete root's pass,
  rebooting in single user mode is my best bet?
 
 It is easiest if the system's single user mode hasn't been locked down

Yes, but that is generally not a good idea at a colo, unless you have some
kind of physical security on the box.

 If single user mode HAS been locked down (ie. needs the root password),
 then you will need a boot disc so you can chroot to your FreeBSD system
 from another, or so you can directly edit the /etc/passwd or /etc/shadow
  file.

FYI: secure single password mode is default: meaning that the system assumes
that anyone that can physically access the system should be able to use
single user mode without a password.

You have to make changes to /etc/ttys to get a paranoid console that asks for
a password.

 The password hash *MIGHT* also be in one of those two files, depending
 on your configuration.

Linux, Linux, Linux.

FreeBSD has no /etc/shadow.  There's /etc/passwd and /etc/master.passwd.

The password hash is readible by root only, so that doesn't help if you
only have a mortal account.

Unless you've specifically set up something else to work around this
problem, you _must_ get physical access to fix it.

In the future, try installing sudo or using PKI to protect yourself from
lost passwords.

-- 
Bill Moran

Be calm.

Morpheus

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems booting operating system and with root password

2006-05-26 Thread Bill Moran
Sam Speranini [EMAIL PROTECTED] wrote:

 Thank you for the quick response and I will try booting up in single mode
 for the root password issue.
 One of our main boxes at boot up comes up with the error message below and
 goes no further. It seems like the kernel is missing or got corrupted. The
 box ran fine till yesterday morning when we noticed it was at this stage. Is
 there anything that can be done to recover.

If this machine worked before, then _something_ has occurred to corrupt
data on disk.  Some possible reasons are breakin, operator error, or
hardware failure.

If you're not _sure_ this was caused by operator error, then you should
be afraid: either your box was compromised or your hard drives are
failing.

In either of those scenerios, you need to rebuild the box, possibly after
replacing hardware.  Hopefully you have backups, if not, you may be
forking out good money for a data recovery company to extract your
data off a damaged hard drive.  If it's a breakin, you might be able
to boot the system off a live CD (such as FreeSBIE) and get your data
off the drive before rebuilding.  If it's a hardware failure, you can
try the liveCD thing, but it's less likely to work.

Good luck.

 Press Ctrl-E for BMC Setup within 5 sec.
 No /boot/loader
 
 FreeBSD /i386 boot
 Default: 0:da(0,a)/kernel
 boot:
 No /Kernel
 
 FreeBSD /i386 boot
 Default: 0:da(0,a)/kernel
 boot:



-- 
Bill Moran

Two by two, hands of blue.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems booting operating system and with root password

2006-05-26 Thread Miguel

Atom Powers wrote:


On 5/26/06, Miguel [EMAIL PROTECTED] wrote:


Hi, i have a similar problem, i forgot my root password and the server
its in a remote colocation site, is there a way to recover the encrypted
password and crackit some way, i have my normal account (which is in
wheel group), i even know that the root's pass begings with
MAG_something, but i really cant remember the complete root's pass,
rebooting in single user mode is my best bet?



If you are in wheel, then you should be able to sudo su to switch to
the root account and then passwd root to reset the password.


:-(
No luck, this is the error

 sudo su

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

   #1) Respect the privacy of others.
   #2) Think before you type.
   #3) With great power comes great responsibility.

Password:
mmiranda is not in the sudoers file.  This incident will be reported.
 sudo su
mmiranda is not in the sudoers file.  This incident will be reported.
 passwd root
passwd: permission denied


I entered my account's password...

Anything more?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems booting operating system and with root password

2006-05-26 Thread Atom Powers

On 5/26/06, Miguel [EMAIL PROTECTED] wrote:

Atom Powers wrote:

 On 5/26/06, Miguel [EMAIL PROTECTED] wrote:

 Hi, i have a similar problem, i forgot my root password and the server
 its in a remote colocation site, is there a way to recover the encrypted
 password and crackit some way, i have my normal account (which is in
 wheel group), i even know that the root's pass begings with
 MAG_something, but i really cant remember the complete root's pass,
 rebooting in single user mode is my best bet?


 If you are in wheel, then you should be able to sudo su to switch to
 the root account and then passwd root to reset the password.

:-(
No luck, this is the error

  sudo su

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

Password:
mmiranda is not in the sudoers file.  This incident will be reported.
  sudo su
mmiranda is not in the sudoers file.  This incident will be reported.
  passwd root
passwd: permission denied
 

I entered my account's password...

Anything more?



Yes. Check your man pages; the format of the sudoers file is very specific.
Usually you can get away with a line like this:
--
%wheel  ALL=(ALL)   ALL
--


--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems booting operating system and with root password

2006-05-26 Thread Adrian Pavone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Miguel wrote:
 Atom Powers wrote:
 
 On 5/26/06, Miguel [EMAIL PROTECTED] wrote:

 Hi, i have a similar problem, i forgot my root password and the server
 its in a remote colocation site, is there a way to recover the encrypted
 password and crackit some way, i have my normal account (which is in
 wheel group), i even know that the root's pass begings with
 MAG_something, but i really cant remember the complete root's pass,
 rebooting in single user mode is my best bet?


 If you are in wheel, then you should be able to sudo su to switch to
 the root account and then passwd root to reset the password.

 :-(
 No luck, this is the error
 
 sudo su
 
 We trust you have received the usual lecture from the local System
 Administrator. It usually boils down to these three things:
 
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
 
 Password:
 mmiranda is not in the sudoers file.  This incident will be reported.
 sudo su
 mmiranda is not in the sudoers file.  This incident will be reported.
 passwd root
 passwd: permission denied

 
 I entered my account's password...
 
 Anything more?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

The previous person mistakenly thought that if you were in the wheel
group, you were also set up for wheel. Unforunately, root would have had
to set up the sudo configuration file so that mmiranda (your login)
could use the sudo command to run su. This was not set up, so that is
not an option in this case.

Regards,
Adrian

- --
This email address has expired. Please contact me for my new address.

Please obtain my pgp public key from pgp.mit.edu before sending me any
private mail, otherwise your email will likely be filtered incorrectly
and possibly junked.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEd3UL0JHtFv5fxW8RAqKxAJ4/nMaObhIIB0J/ShY3xQ4845qb6ACfVAkG
+9dYMSIw89sReJIjOBTlZws=
=IKD0
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems booting operating system and with root password

2006-05-26 Thread Adrian Pavone
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Atom Powers wrote:
 On 5/26/06, Miguel [EMAIL PROTECTED] wrote:
 Atom Powers wrote:

  On 5/26/06, Miguel [EMAIL PROTECTED] wrote:
 
  Hi, i have a similar problem, i forgot my root password and the server
  its in a remote colocation site, is there a way to recover the
 encrypted
  password and crackit some way, i have my normal account (which is in
  wheel group), i even know that the root's pass begings with
  MAG_something, but i really cant remember the complete root's pass,
  rebooting in single user mode is my best bet?
 
 
  If you are in wheel, then you should be able to sudo su to switch to
  the root account and then passwd root to reset the password.
 
 :-(
 No luck, this is the error

   sudo su

 We trust you have received the usual lecture from the local System
 Administrator. It usually boils down to these three things:

 #1) Respect the privacy of others.
 #2) Think before you type.
 #3) With great power comes great responsibility.

 Password:
 mmiranda is not in the sudoers file.  This incident will be reported.
   sudo su
 mmiranda is not in the sudoers file.  This incident will be reported.
   passwd root
 passwd: permission denied
  

 I entered my account's password...

 Anything more?

 
 Yes. Check your man pages; the format of the sudoers file is very specific.
 Usually you can get away with a line like this:
 -- 
 %wheelALL=(ALL)ALL
 -- 
 
 

Altough can't only root modify (write changes to) the sudoers file? As
he is trying to get access to root (without a root password), this is
not possible from what I can see.

Regards,
Adrian

- --
This email address has expired. Please contact me for my new address.

Please obtain my pgp public key from pgp.mit.edu before sending me any
private mail, otherwise your email will likely be filtered incorrectly
and possibly junked.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEd3df0JHtFv5fxW8RAp0cAKCi/heobdYqmxpzHKMtePDWIu/mNQCfcyv4
xVFzVVSEbi87KwN4M8nSOEI=
=hYYJ
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]