Linux forgot Password and modified IP address solution

Source: Internet
Author: User

LINUX System Reset Root method of Password:

This afternoon a new 4 probe equipment, but do not know the number of probe device login password. These devices are installed with the Redhat system, and other Linux operating system to initialize the password method is not the same, later Wei Jianwen in Baidu Search for a method, we groped for a long time, pro-test, feasible ~ for everyone to reference:

1, start the system, press the E key to enter the Grup management interface

2, select the second option, and then press E to enter the editing state.

Input: kernel/vmlinuz-2.6. -194. El5 ro root=/dev/volgroup00/logvol00 rhgb=/single

The Scarlet Letter part should be based on the specific Linux The version number is set to enter Grup status is displayed after the

1, enter, press B to enter the start state

2. When the # sign appears, enter passwd root and return

3, enter two times new password, reboot restart

LINUX System Settings IP Address method:

1. Open terminal, enter setup

2. Cursor Location "Network Configuration", press ENTER

3. Cursor position "Edit Devices", press ENTER

4, select Eth0 Network card, press ENTER

5. Enter the static IP, netmask and default gateway IP, then tap OK to save the configuration

6. Cursor Location "Edit DNS Configuration", press ENTER to set the domain name

7. Enter primary DNS, then click OK to save the relevant configuration

To restart the network card:

In the terminal interface input:/etc/init.d/network restart

Linux forgot Password and modified IP address solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.