REDHAT08-09-17
Passwords are the sole criteria of system Security for approx all the System. And when it comes for Linux, if you knows the root password you have all the authority to do anything in it. Passwords are as a Security measure for BIOS, Login, Disk, Application, etc.
Linux is considered as the most Secure Operating System to be hacked or cracked and in reality it is, still we will discussing some of the loop-holes and cracks of a Linux System.
Step 1:-
when your OS selecting the kernel in starting then there is an option for editing by pressing “e†button on keyboard by which you can done editing in between booting process and also able to crack password of root.
Site Links:- Kali Linux Commands Cheat Sheet
Step 2:-
When you are in editing mode by pressing “e†button then there is a coding on screen. When you have to go down in coding then there is a line which started by “linux16â€. In end of this line, you have to write “rd.break†and press “Ctrl + x†by which booting will start again and give a command line interface where you can run further commands which is required to crack password of root.
Site Links:- Linux Commands Cheat Sheet
Step 3:-
On command line interface, you have to write command-
mount -o remount,rw /sysroot
-> By this command, you are going to remount with read and write permission on “/sysrootâ€.
-> In this command, “-o†option is used for give option for remount.
Step 4:-
chroot /sysroot
By this command, you get an interactive shell with special root directory because you want an interactive shell on which you can easily run command to change password of root.
Step 5:-
passwd root
This is command for changing password of any user so you are going to change password of root.
Step 6:-
/.autorelabel
By this whole command, you have to make sure that all unlabeled file ( like “/etc/shadow†file ) get relabeled during boot.
Step 7:-
exit
Now by write “exit†on command line by which you can exit from interactive shell.
Step 8:-
exit
Now again you have to write “exit†on command line interface by which you can exit from command line interface and booting process will again started with new root password.
By these steps, you can crack root password easily.
Site Links:- CCNA Online Training CCNP Online Training CCIE Online Training