Skip to main content

How do I reset my root password if I forget my root password? Redhat-9

 How do I reset my root password if I forgot my root password? Redhat-9


1. Reboot your Linux system, and at the GRUB boot menu, press ‘e’ to edit the boot menu entries.

2. press the down arrow key and select rescue kernel line

3. go to the end of the line and write rd. break

4 press ctrl+x and start your system.


#mount -o remount rw /sysroot

#chroot /sysroot

#passwd

new password

reinter password.

#getenforce

#touch /.autorelabel

#exit

Now restart your system and log in with a new password.





Comments

Popular posts from this blog

Here's how you can install, configure, and use NDI version 6

NDI (Network Device Interface) is a technology developed by NewTek that allows audio and video signals to be transmitted over a local area network (LAN). Here's how you can install, configure, and use NDI version 6 Documnet Link https://rb.gy/t4bb68

VMware ESXi is a type of server virtualization software developed by VMware

   VM ware ES Xi is a type of server virtual ization software developed by VMware VM ware ES Xi is a type of server virtual ization software developed by VMware that provides a virtual ized platform for running multiple operating systems and applications on a single server . It can be used to consolidate multiple physical servers into a single virtual machine , allowing organizations to save money on hardware costs and reduce their IT footprint . ES Xi is designed to be a robust and secure platform , providing an optimized environment for running virtual machines . With ES Xi , users can create and manage virtual machines without the need for an operating system . ES Xi allows users to create virtual machines with any operating system they choose , including Windows , Linux , and Mac OS X . It also includes features such as high availability , scal abi...

Redis is an open-source, in-memory data structure store,

  Red is is an open -source, in-memory data structure store, R ed is is an open -source, in-memory data structure store, used as a database, cache, and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, and geospatial indexes with radius queries. The Redis server is written in C. Redis is used in a variety of applications such as caching, real-time analytics, message brokering, and data persistence. It can be used to store data in memory, which makes it fast and reliable. Redis can also be used as a distributed cache to share data across multiple nodes. It supports replication, which ensures data is not lost in the event of a server failure. Redis also supports transactions, which makes it reliable for applications that require strong data integrity. How to install and configure the Red is server 1 . Install Red is The first step is to install Red is on your server . ...