Re: root password lost

2002-10-16 Thread Amir Tal

On Wednesday 16 October 2002 02:17 pm, Toros Yosi wrote:
 Hi,
 I have computer that has RH7.3 on it and I don't know the root and any
 other users password ,can someone please tell me waht is the best  way to 
 login

 :)

boot from the RH install cd, login as single user, and use the passwd 
commnad to change the passwords you need.

tal.


To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: root password lost

2002-10-16 Thread Sagi Bashari

On 10/16/2002 2:17 PM, Toros Yosi wrote:

 Hi,
 I have computer that has RH7.3 on it and I don't know the root and any 
 other users password ,can someone please tell me waht is the best  way 
 to  login :)

Boot in single user mode (append 1 to the kernel parameters, 'linux 1' 
in lilo prompt for example).
It should boot and give you root shell. If it doesn't, try to append 
init=/bin/sh to the kernel parameters.

After you are in, use /usr/bin/passwd to change the root password.

Sagi




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: root password lost

2002-10-16 Thread Chen Naor
Title: root password lost



if you use lilo as your boot loader.
reboot your system and type: single or 
linuxsingle on the lilo options.
change the password and reboot again.

Chen

  - Original Message - 
  From: 
  Toros 
  Yosi 
  To: '[EMAIL PROTECTED]' 
  Sent: Wednesday, October 16, 2002 2:17 
  PM
  Subject: root password lost
  
  Hi, I have 
  computer that has RH7.3 on it and I don't know the root and any other users 
  password ,can someone please tell me waht is the best way to login 
  :)


RE: root password lost

2002-10-16 Thread e-tie
Title: root password lost



It 
worked for me once so if nothing changed since then you can 
try:
At the lilo prompt type:linux single
boot single user, there is no need to delete theroot password from 
/etc/shadow. The passwd command works perfectly welland you can 
just set a new password.

  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On 
  Behalf Of Toros YosiSent: Wednesday, October 16, 2002 2:17 
  PMTo: '[EMAIL PROTECTED]'Subject: root password 
  lost
  Hi, I have 
  computer that has RH7.3 on it and I don't know the root and any other users 
  password ,can someone please tell me waht is the best way to login 
  :)


Re: root password lost

2002-10-16 Thread Max K.

On Wed, 16 Oct 2002, Toros Yosi wrote:

 Hi,
 I have computer that has RH7.3 on it and I don't know the root and any other
 users password ,can someone please tell me waht is the bestway to  login
 :)

if nothing above helps:

boot from the cd
switch to the console (Ctl+F1/2/3/4/5 - i don't know how it is in RH)
there mount your root partition if it is /dev/hda3 then:
mkdir /tmp/tst
mount /dev/hda3 /tmp/tst

then open in that partition the etc/shadow with vi
remove the encrypted password.
reboot
root will have empty password.

bye.



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: root password lost

2002-10-16 Thread Shahar Dag
Title: root password lost



this will work only if lilo.conf don't contain 
a password.
The good news are that the password is not 
encrypted, so as someone already suggested you can boot with the cd mount your 
HD and see the password

  - Original Message - 
  From: 
  Chen Naor 
  To: [EMAIL PROTECTED] 
  Sent: Wednesday, October 16, 2002 2:52 
  PM
  Subject: Re: root password lost
  
  if you use lilo as your boot loader.
  reboot your system and type: single or 
  linuxsingle on the lilo options.
  change the password and reboot 
again.
  
  Chen
  
- Original Message - 
From: 
Toros Yosi 
To: '[EMAIL PROTECTED]' 
Sent: Wednesday, October 16, 2002 2:17 
PM
Subject: root password lost

Hi, I have 
computer that has RH7.3 on it and I don't know the root and any other users 
password ,can someone please tell me waht is the best way to 
login :)