Results 1 to 4 of 4

Thread: help in root password (noob)

  1. #1
    Junior Member
    Join Date
    Sep 2005
    Location
    Philippines
    Posts
    2

    help in root password (noob)

    my friend forgot his root password and he want me to recover / replace it. and i want to use knoppix in recovering / replacing it.

    the problem is i only know how to administer oracle database in lunux but not troubleshooting the system, could somebody please teach me how?

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    You can do that without using knoppix. If you use lilo, highlight the kernel you wish to mount, hit <tab>, type 1, hit <enter>, to boot into single user mode. Then just change the password with the command passwd
    With grub, highlight kernel, type e to edit, add 1, hit <enter> and do passwd.

  3. #3
    Junior Member
    Join Date
    Sep 2005
    Location
    Philippines
    Posts
    2
    using grub 0.93, so i select redhat linux, then pressed e, but nothing happened

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Did you try typing 1 and pressing enter? Doesn't redhat have a resque mode on the cd? That should be able to reset the password. If both fail, try:
    boot knoppix
    login as root in a console
    type "sudo su"
    type "mount /mnt/hdXn && chroot /mnt/Xn" where Xn is your redhat root partition
    type "passwd"
    type "Ctrl-d"
    reboot

    Can't remember now if mounting /proc is needed, could someone fill in that info?

Similar Threads

  1. root password
    By abeza in forum Hardware & Booting
    Replies: 2
    Last Post: 01-31-2007, 03:47 PM
  2. root password
    By swen in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 12-26-2005, 03:18 AM
  3. Root Password
    By ITInfo in forum Hardware & Booting
    Replies: 2
    Last Post: 08-22-2005, 04:29 PM
  4. Root password
    By SurfThaNet in forum General Support
    Replies: 2
    Last Post: 09-24-2004, 03:54 PM
  5. Root password?
    By CyberShadow in forum General Support
    Replies: 1
    Last Post: 04-05-2004, 06:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Supermicro 1U X11DPU 2x Xeon Gold 6132 2.6GHz / 128gb / 10x 2.5 Trays / 2x 750w picture

Supermicro 1U X11DPU 2x Xeon Gold 6132 2.6GHz / 128gb / 10x 2.5 Trays / 2x 750w

$649.99



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$273.00



1U 20

1U 20" Short Depth Server Firewall PFSense X11SSH-F Xeon 3.5Ghz 32GB RAM NVME

$247.00



Supermicro SYS-5019P-M Server Xeon Scalable 6138 20 Cores 40 Threads 48gb DDR4 picture

Supermicro SYS-5019P-M Server Xeon Scalable 6138 20 Cores 40 Threads 48gb DDR4

$330.00



HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES

$199.00



Genuine HP ProLiant MicroServer Gen8 Intel Pentium G2020T 2.5GHz 712318-001 picture

Genuine HP ProLiant MicroServer Gen8 Intel Pentium G2020T 2.5GHz 712318-001

$199.95



HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVESorCads picture

HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVESorCads

$200.00



CEOhack 1U X9DRW-3TF+ 4 Bay Server 64GB DDR3 1x E5-2667 V2 3.30GHz 8C 1x 1TB HDD picture

CEOhack 1U X9DRW-3TF+ 4 Bay Server 64GB DDR3 1x E5-2667 V2 3.30GHz 8C 1x 1TB HDD

$119.00



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



1U Supermicro Server X10DRU-i+ 2x Xeon Total 36 Cores 64GB 4x 10GBE-T 2PS picture

1U Supermicro Server X10DRU-i+ 2x Xeon Total 36 Cores 64GB 4x 10GBE-T 2PS

$314.00