exadata reset root password

2 min read 14-10-2024
exadata reset root password

Resetting the root password on an Oracle Exadata system can be necessary in situations where you cannot access the system due to forgotten credentials. Below is a step-by-step guide to help you through the process.

Prerequisites

Before you begin, ensure you have:

  • Physical or console access to the Exadata server.
  • Appropriate permissions to perform these actions.

Steps to Reset the Root Password

Step 1: Reboot the Exadata Server

  1. Access the system console: If you are using a virtual console, access it through your management interface.
  2. Reboot the server: You can initiate a reboot by typing the following command in the command line:
    reboot
    

Step 2: Access the GRUB Menu

  1. Interrupt the boot process: As the server reboots, you need to interrupt the boot sequence. Press the Esc key or Shift key to access the GRUB menu (the specific key may vary).

  2. Select the kernel: You will see a list of available kernels. Use the arrow keys to select the one you wish to boot.

Step 3: Enter Single User Mode

  1. Edit the boot entry: Press e to edit the selected kernel boot entry.

  2. Modify the boot parameters: Find the line that starts with linux or linux16. At the end of this line, append the following:

    init=/bin/sh
    

    This tells the system to boot into a shell without requiring a login.

  3. Boot the modified entry: Press Ctrl + X or F10 to boot with the changes you made.

Step 4: Remount the File System

Once you are in single-user mode, you need to remount the file system with write access.

mount -o remount,rw /

Step 5: Reset the Root Password

  1. Change the root password: Use the passwd command to reset the root password.
    passwd
    
    You will be prompted to enter a new password. Type the new password and confirm it.

Step 6: Reboot the System

  1. Reboot the server: Once the password is changed successfully, you need to reboot the system again.
    exec /sbin/init
    
    Alternatively, you can also use:
    reboot
    

Step 7: Log In with the New Password

After the system reboots, you should be able to log in using the root account and the newly set password.

Conclusion

Resetting the root password on Oracle Exadata is a straightforward process but requires careful execution to avoid system misconfigurations. Always ensure to document any changes made to the system and maintain a secure record of your passwords.

If you face issues during the process, consult the Oracle documentation or seek assistance from your IT support team.

Latest Posts


close