I'm currently in the process of installing and configuring the server and I publish to this blog as I go.
I recently inherited a huge server machine from my office. I want to build a custom website and host it on this server but I lack experience with Servers and Linux. Hopefully, I can use documentation and videos to cobble this together. The only hope of success for me is to do this systematically, with documentation of the configuration and installation and build process.
User Data
login: jlillywhite
password: ______________
I forgot the password because it had been so long since I installed the Ubuntu Linux server. Here is what I did to fix that:
- Reboot the server: If the server is currently running, it's best to start with a clean reboot. You can use the `reboot` command to restart the system.
- Access the GRUB menu: After the server starts up, you need to access the GRUB menu. Press and hold the Shift key during the boot process to make the GRUB menu appear. If the Shift key doesn't work, you can try using the Esc key.
- Select the recovery mode: In the GRUB menu, select the option that starts with "Advanced options" or "Recovery mode" and press Enter.
- Choose the root shell: On the next screen, you'll see a list of recovery options. Select the option that says "root - Drop to root shell prompt" or "root - Enable networking" and press Enter.
- Remount the file system: After the root shell prompt appears, the file system is initially mounted as read-only. To remount it with write permissions, enter the following command: mount -o remount,rw /
- Reset the password: With the file system mounted as read-write, you can now reset the password for the desired user. Enter the following command, replacing "username" with the actual username of the account: passwd username
- You will be prompted to enter a new password. Follow the on-screen instructions to set a new password for the user.
- Restart the server: Once the password is reset, you can restart the server by entering the following command: reboot
- Login with the new password: After the server restarts, you should be able to log in using the new password for the user account you reset.
These steps should guide you through resetting the password on your Ubuntu server while also accessing the GRUB menu.
Server Hardware
Total RAM: 31Gb, Available RAM: 30Gb
Disk space: 82 Gb
Linux Commands:
RAM (human readable): free -h
Available disk space: df -h /home/jlillywhite
Comments
Post a Comment