I need to go to linux change root password
- or -
Post a project like this$$
- Posted:
- Proposals: 11
- Remote
- #1567856
- Expired
IT Professional, Server Admin, Microsoft Certified - Mission - to satisfy my cleints
Wilmslow
AWS | Wordpress | PHP | joomla | centos | cPanel | ubuntu | SSL | website migration | virtualization | Load balancer
Chandigarh
1412530211575255011449283521398127482213353931410840143442215373551666111
Description
Experience Level: Intermediate
go to the Grub at linux and change
single mode user, and change root password.
following needs to be done.
CentOS 7
Click [View Console] to access the console and click the send CTRL+ALT+DEL button on the top right. Alternatively, you can also click [RESTART] to restart the server.
As soon as the boot process starts, press ESC to bring up the GRUB boot prompt. You may need to turn the system off from the control panel and then back on to reach the GRUB boot prompt.
You will see a GRUB boot prompt - press "e" to edit the first boot option. (If you do not see the GRUB prompt, you may need to press any key to bring it up before the machine boots)
Find the kernel line (starts with "linux16"), change ro to rw init=/sysroot/bin/sh.
Press CTRL-X or F10 to boot single user mode.
Access the system with the command: chroot /sysroot.
Run passwd to change the root password.
Reboot the system: reboot -f.
single mode user, and change root password.
following needs to be done.
CentOS 7
Click [View Console] to access the console and click the send CTRL+ALT+DEL button on the top right. Alternatively, you can also click [RESTART] to restart the server.
As soon as the boot process starts, press ESC to bring up the GRUB boot prompt. You may need to turn the system off from the control panel and then back on to reach the GRUB boot prompt.
You will see a GRUB boot prompt - press "e" to edit the first boot option. (If you do not see the GRUB prompt, you may need to press any key to bring it up before the machine boots)
Find the kernel line (starts with "linux16"), change ro to rw init=/sysroot/bin/sh.
Press CTRL-X or F10 to boot single user mode.
Access the system with the command: chroot /sysroot.
Run passwd to change the root password.
Reboot the system: reboot -f.
virtual wireless technologies.com
100% (2)Projects Completed
2
Freelancers worked with
2
Projects awarded
0%
Last project
28 Dec 2019
United States
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies