Red Hat Linux Password reset ( ethical hacking Password Breakage )

Initial setup:

password break:
restart system
> press esc key
    linux
 > press e
> fi ( line not enter)
> linux16  /boot/vmliuz  > go to end of the line and enter below the command
     rd.break console=tty1
>ctrl+X
switch_root:# mount -o remount,rw /sysroot
switch_root:# ch root /sysroot
sh-4.2# passwd
newpasswd:
retypepasswd:
sh-4.2# exit
switch_root:#exit


[root@server6 ~]# nmtui
 > Edit a connection
 >  system eth0
 > Edit
>Profile name:system eth0
> ipv4 configuration -->show(click)--Enter
        ( IP address,gateway,dns,search domain give in EXAM u can enter below)
        Addressed:172.25.20.11
        Gateway  :172.25.254.254
        DNS server:172.25.254.254
        search Domain: example.com
>  ok
> quit

[root@server6 ~]# nmtui
   > Activate connection
   > system eth0 ----> Deactivate(show)--Enter--> Activate ---> Enter
   > quit

now check IP address:

[root@server6 ~]# ip a
[root@server6 ~]# ping 172.25.254.254

[root@server6 ~]# vim /etc/sysconfig/network-scripts/ifcfg-eth0
BOOTPROTO=static
ONBOOT=yes

[root@server6 ~]#hostnamectl set-hostname server6.example.com
                   or
[root@server6 ~]#vim /etc/hostname
                  server6.example.com



[root@server6 ~]# systemctl mask iptables
[root@server6 ~]# systemctl mask ip6tables
[root@server6 ~]# systemctl mask ebtables
[root@server6 ~]# hostnamectl set-hostname server6.example.com
[root@server6 ~]# hostname

[root@server6 yum.repos.d]# vim admin.repo

[admin]
name=adminrepo
baseurl=http://content.example.com/rhel7.0/x86_64/dvd
gpgcheck=0
enabled=1
[root@server6 yum.repos.d]# yum clean all
[root@server6 yum.repos.d]# yum clean dbcache
[root@server6 yum.repos.d]# yum repolist


[root@server6 ~]# init 6

Comments

Popular posts from this blog

ORACLE FORMS AND REPORTS 12C INSTALLATION DOCUMENT LINUX

Microsoft Office 2019 Installation Instructions for Windows

installation of Oracle BI Publisher 10.1.3.4.1

Configure physical standby database Oracle Database 11G release 2 (11.2)