RHCSA RHEL 8 - Practice Exam - Questions 1-6

Поділитися
Вставка
  • Опубліковано 5 вер 2024
  • Your support on Ko-Fi is much appreciated:
    👉 ko-fi.com/csg_yt
    Join our new discord channel:
    👉 / discord
    Buy CSG Merchandise:
    👉 tee.pub/lic/csg
    This video is based on RHEL 8.
    Video to cover questions 1-6 in the RHCSA practice exam provided by the Red Hat cert team.
    More information on the required learning: bit.ly/rhcsa8
    #rhcsa #rhel #linux #redhat

КОМЕНТАРІ • 122

  • @alexycox1347
    @alexycox1347 2 роки тому +15

    0:38 -1. Interrupt the boot process and reset the root.....
    5:20 -2. Repos are available from the repo server at.....
    8:04 -3. The system time should be set to your (or nearest to you).....
    11:18 -4. Add the following secondary IP addresses statically.....
    15:55 -5. Enable packet forwarding on system.....
    18:30 -6. System1 should boot into the multiuser target by default and boot messages.....

    • @DEENISDUNIA
      @DEENISDUNIA 10 місяців тому

      hey guys great video is it rd.break/enforcing=0 or backwards rd.break\enforcing=0 i see the slash ???????????????????or is there no slash ???
      rd.break enforcing=0?????

  • @firemaniac12345
    @firemaniac12345 2 роки тому +6

    Thnx a lot... Your videos helped a lot in my passing of RHCSA...

  • @grailph
    @grailph 3 роки тому +9

    Thank you for this, this gives me the confidence to take the exam this coming weekend.

    • @compsecgadgets
      @compsecgadgets  3 роки тому +1

      All the best for your exam!

    • @STTEBID
      @STTEBID 3 роки тому +2

      How did the exam go for you John? Was this preparations helpful?

    • @SK-PODCAST
      @SK-PODCAST 3 роки тому +3

      @@STTEBID he failed

  • @blade25qmay83
    @blade25qmay83 3 роки тому +3

    You are Awesome!!!

  • @turalmirzayev112
    @turalmirzayev112 3 роки тому +2

    Very helpful thx. 6 -19 wait for you)

  • @pascalodode3441
    @pascalodode3441 2 роки тому +2

    Thank very much, this is helpful for me.
    Hope they will give 2 separate different link for both repository( BaseOS and AppStream) for my exam that day. 🙏🏼

  • @rfsiqueira25
    @rfsiqueira25 2 роки тому +1

    Thanks

  • @dablakmark8
    @dablakmark8 5 місяців тому

    i got no IT background only a windows power user.Been using linux for a year but not in depth, just internet and watching movies and a little bit of cli.I got a+.thats it.
    I did a bootcamp course of rhel and am now at the disk partition stage, and i am lost,o forgot everything i studied from the beginning causei took a break from the course for 2 months.I am over an old man trying a young mans game,Is it possible for me to dive into this when my career for all my life was in automotive field.I want to change careers and was hoping to get the system admin then the engineering then aws and work remotely around the world.
    What is the beest way t ostudy this and pass

  • @issamnaouali1574
    @issamnaouali1574 9 місяців тому

    Certainly! Here's the corrected text:
    Hello, I want to thank you for sharing. I am wondering if this mock exam is still available for RHCSA 9 ?

  • @randoman1337
    @randoman1337 3 роки тому +1

    Thank you!

  • @alexstoubis890
    @alexstoubis890 3 роки тому +1

    At 13:02 , you have enabled 2 interfaces from Virtualbox or with a command that i 've possibly missed?
    Thanks for this work!
    Cheers,
    Alex

    • @compsecgadgets
      @compsecgadgets  3 роки тому +2

      As part of the original build there were two interfaces on that server.

  • @missyuls1711
    @missyuls1711 2 роки тому

    This is an awesome video 👍🙌💯

  • @bfrd9k
    @bfrd9k 2 роки тому +1

    Resetting the root password without an autorelabel does not work. I have tried using restorecon /etc/shadow and this does not work either. It seems that the most reliable way to correct the SELinux context of /etc/shadow after changing the password is to relabel the entire filesystem... this, unfortunately, takes time.

    • @dennys884
      @dennys884 2 роки тому +1

      Autorelanel is the best way bro

  • @DEENISDUNIA
    @DEENISDUNIA 10 місяців тому +1

    hey guys great video is it rd.break/enforcing=0 or backwards rd.break\enforcing=0 i see the slash ???????????????????or is there no slash ???
    rd.break enforcing=0?????

    • @Daniel-tx6vk
      @Daniel-tx6vk 5 місяців тому +1

      Hi. The \ is appears automatically to point the line break. You don't have to manually write it.

    • @DEENISDUNIA
      @DEENISDUNIA 5 місяців тому +1

      @@Daniel-tx6vk ahh yes I tried doing that and first I did it wrong thank you so much much love from a New York Linux student

  • @jayavidhya8637
    @jayavidhya8637 3 роки тому

    Hi rhel8 exam where u can find the ctrl+alt+del cmd for edit the kernel

  • @sylviengonkot3668
    @sylviengonkot3668 2 роки тому

    Failed to synchronize cache for repo 'AppStream', ignoring this repo.
    Failed to synchronize cache for repo 'BaseOS', ignoring this repo.

  • @simplydevops
    @simplydevops 3 роки тому

    Very helpful 👍

  • @johnsmithux631
    @johnsmithux631 2 роки тому

    Hey there, awesome videos, really helpful
    I have a question though...
    Is packet forwarding still in the exam?
    I have tried your solution and everything i could find on the internet but no matter what I try it just won't persist after boot.
    I get always 1.
    Packet forwarding was enabled by default
    Thanks for any answer in advance :)

  • @gabrielex
    @gabrielex 2 роки тому +1

    Hi, thanks for the video, very informative, I'm not that acquainted to nmcli though and isn't ifconfig deprecated?
    Shouldn't ip command be used in place of it?

    • @compsecgadgets
      @compsecgadgets  2 роки тому +2

      Yeah old habits die hard 😁 Ip is the better command to use going forward

    • @gabrielex
      @gabrielex 2 роки тому +1

      @@compsecgadgets to be honest I prefer the output from ifconfig too, took me a while to switch!
      What about nmcli, can I use ip for that too? In that case I prefer the latter, I find nmcli confusing and overly complicated but maybe that's just because I don't use it.

    • @compsecgadgets
      @compsecgadgets  2 роки тому

      Doesn't matter really how you achieve the result only thing it must be persistent

  • @inoMadv64
    @inoMadv64 3 роки тому +1

    Why not drop "setenforcing=0" do everything the same way but do "touch /.autorelabel" after changing the password and then reboot?

    • @compsecgadgets
      @compsecgadgets  3 роки тому +1

      Auto Relabel takes a very long time, in the exam I would suggest you don't use it.

    • @inoMadv64
      @inoMadv64 3 роки тому +1

      @@compsecgadgets thank you for your reply. I was just wondering whether it would work or not. Thank you for confirming and letting me know that your method is faster. I really appreciate it!

    • @compsecgadgets
      @compsecgadgets  3 роки тому +1

      No worries glad to help! 😀

  • @mmmizery
    @mmmizery 3 роки тому +1

    The password reset didn't work on 8.3, any ideas? had to do a touch/.autorelabel even if i'd done enforcing=0 after rd.break. i notice my grub config has additional entries compared to yours too "ro crashkernel=auto"

    • @compsecgadgets
      @compsecgadgets  3 роки тому

      Did you add a new line or anything like that?

    • @josephnduati1214
      @josephnduati1214 3 роки тому

      Thanks Colin for your videos. Immediately after reboot and logging in with the new password, do #restorecon /etc/shadow and as always, eventually make sure that selinux is in enforcing mode.

    • @mmmizery
      @mmmizery 3 роки тому

      @@compsecgadgets nope nothing.

  • @nsmcny
    @nsmcny 3 роки тому +1

    Hi, The exam was taken on "mother" Redhat with KVM guest inside where the exam happened? nor with virtual box. Thanks in advance.

    • @compsecgadgets
      @compsecgadgets  3 роки тому

      Kvm is essentially the same thing but on Linux. Virtualbox is used because most of us have Windows Desktops 😀

    • @nsmcny
      @nsmcny 3 роки тому

      @@compsecgadgets Yes of course, I am aware about it since the beginning, but real exam is happening on KVM nor Virtualbox? Thanks.

    • @compsecgadgets
      @compsecgadgets  3 роки тому +1

      As per here: www.reddit.com/r/redhat/comments/b5sk8n/kvm_for_rhcsa/

  • @drmanhattan225
    @drmanhattan225 3 роки тому +1

    Lots of great content on this account. Subscribed! I'm brand new to Linux and I'd like to go for RHCSA. Would you recommend something like LPI Linux essentials to start with?

    • @compsecgadgets
      @compsecgadgets  3 роки тому

      I've not done the LPI essentials but it looks pretty good. Thanks for subscribing!

  • @FantasyPitzy
    @FantasyPitzy 3 роки тому

    Hi! Please, why did you mount sysroot as read only at the end?

  • @thelearner761
    @thelearner761 3 роки тому +1

    do we need to add ipv4.method manul in question number 4 ?

  • @irasemagonzalez2989
    @irasemagonzalez2989 3 роки тому +1

    Do you have a video on how to set up a lab for practicing these type of questions?

  • @emtiazahmedemon
    @emtiazahmedemon 3 роки тому +1

    During putting rd.break at the end of the line, if I change the ro to rw it will mount the system not in readonly mode but in read/write mode. Any disadvantages of using that?
    Also, in our classroom instruction we were taught to put console=tty1 with rd.break, is it manadatory?

  • @robd.2466
    @robd.2466 3 роки тому

    hm. i still need to change the shadow file label after the first step. selinux was throwing a fit

    • @compsecgadgets
      @compsecgadgets  3 роки тому

      Did you set the enforcing=0 after rd.break?

    • @robd.2466
      @robd.2466 3 роки тому

      @@compsecgadgets Yes. I can login with enforcing=0. But when switched to enforcing, it will not boot after that change. Still need to relabel shadow file. *shrugs* . Thanks again for the content. Very helpful. :)

  • @sagartalwaray8670
    @sagartalwaray8670 3 роки тому

    Hi I found these questions very useful can u share from to get such questions for practice.

  • @kihunkim9122
    @kihunkim9122 Рік тому

    Is the real exam like this level? or way more difficult? and also similar concepts? because LVM questions are occupied quiet a lot

    • @dbrine
      @dbrine Рік тому

      Harder. need to know these as well.

  • @saleemshaikh7676
    @saleemshaikh7676 2 роки тому

    Even after editing grub options and doing ctrl+x as shown in the video for Q1. my system is booting normal. its not going into emergency mode.. am I missing any step? plz let me know

    • @emperornugz89
      @emperornugz89 Рік тому

      had the same issue, i think the boot process does not work the same with all hypervisors or architectures (arch64 vs arm). I could not get it to run properly w/ my M1 mac running utm and RHEL-9 arm version but could with my older intel mac running virtualbox with the arch64 version

  • @galenkivamshi6847
    @galenkivamshi6847 3 роки тому +1

    Hello Mr. England,
    Hope you're doing good. I have tried the rd.break process with enforcing=0 and it worked for the first time. However, after I reboot I couldn't login and it says incorrect password. I would really apprecite you providing a solution for this.
    Thanks and Regards,
    Vamsidhar Galenki

    • @compsecgadgets
      @compsecgadgets  3 роки тому +1

      Hi Vamsidhar,
      All good thanks! Hope you are good. It appears Red Hat have changed their advice more recently back to following: access.redhat.com/solutions/3889671
      Kind Regards,
      Colin

    • @Franchyze923
      @Franchyze923 2 роки тому

      Same happened to me when I used the mount -o remount,ro / method. I ended up doing the old method which was covered in a prior video where you reboot the machine and run restorecon /etc/shadow

    • @Objazdówki
      @Objazdówki 2 роки тому +2

      After You login with Your newly set root password, execute following commands:
      restorecon -Rv /etc/shadow
      setenforce 1
      it shall make Your password reset proof

    • @Bearleaux
      @Bearleaux 2 роки тому

      The missing line before exiting is this: sh-4.4# touch /.autorelabel Run that after changing the password, then instead of reboot you can simply "exit", then "exit" again and it will resume from the break.

  • @jaypatel721
    @jaypatel721 2 роки тому

    Hi, do you have any updates for 2022

  • @nekidfrog
    @nekidfrog 3 роки тому +2

    where did you get the vm's for this practice test?

    • @compsecgadgets
      @compsecgadgets  3 роки тому +1

      Check out my environment setup video: ua-cam.com/video/YPN7FJlVPxI/v-deo.html

  • @nickouttacontrol4980
    @nickouttacontrol4980 3 роки тому

    Can anyone help w/ #2? I legit failed the exam cause of that. To add remote repositories dnf config-manager alone doesn’t work.

    • @manny8717
      @manny8717 3 роки тому

      #dnf config-manager --add-repo link

  • @GopalPokhrel
    @GopalPokhrel 3 роки тому

    i didnt put + to add secondary ipv6.address at 14:45 min. or is that the right way?

    • @compsecgadgets
      @compsecgadgets  3 роки тому

      If you are adding an additional address yes you need the +. It cannot hurt to have it added either way

  • @venom21wow
    @venom21wow 3 роки тому

    Does anyone know the container questions on the test ? something about systemd and logs?

  • @rnkl0707
    @rnkl0707 3 роки тому

    what is specifications of your host machine. which laptop is best for setting the RHCSA practise lab. please suggest some good laptop.

    • @compsecgadgets
      @compsecgadgets  3 роки тому +1

      Its nothing special a 6 core processor + 16GB RAM. Most decent laptops nowadays will have more than that.

  • @karthick3478
    @karthick3478 3 роки тому

    Can u make video on rhce exam

  • @sylviengonkot3668
    @sylviengonkot3668 2 роки тому

    Hi, Excellent video. But I have a frustration where I am unable to obtain the repositories. even thought I have the AppStream and BaseOs configure and enabled, no repo. Can someone be an assistance?

    • @MuhammadShahzad-fd2kw
      @MuhammadShahzad-fd2kw 2 роки тому

      Are you setting up online repo or it's from media disc. If it is configured from local media disc then you need to mention path in the both baseos and appstream file which are located /etc/yum.d/repos

    • @ykw8398
      @ykw8398 2 роки тому

      same here getting “Failed to Synchronize Cache For Repo ‘repo_name’, Ignoring This Repo”

    • @ykw8398
      @ykw8398 2 роки тому

      can anyone help?

  • @dennisdistrict6205
    @dennisdistrict6205 3 роки тому

    In the Last step i cant mount on / (cant find UUID) filesystem is xfs ! Can you help me?

    • @compsecgadgets
      @compsecgadgets  3 роки тому

      Try running blkid to make sure you have the right UUID?

    • @jimmyha2050
      @jimmyha2050 2 роки тому +1

      @@compsecgadgets or lsblk --output--all

  • @chrisjoseblanche4248
    @chrisjoseblanche4248 2 роки тому

    where can we find the file with the questions?

  • @herlanyuswanul6331
    @herlanyuswanul6331 3 роки тому

    i use that repo and there's nothing happen. Failed to synchronize cache for repo AppStream and BaseOS. that is the error i got. please help

    • @compsecgadgets
      @compsecgadgets  3 роки тому

      Do a yum repolist to check what you see there?

    • @herlanyuswanul6331
      @herlanyuswanul6331 3 роки тому

      @@compsecgadgets nothing. Just my new repo with link above

    • @compsecgadgets
      @compsecgadgets  3 роки тому

      Do a yum clean all see if that helps. Also check if you can ping something like Google to test internet connectivity

    • @BKUnderstanding
      @BKUnderstanding 3 роки тому

      @@herlanyuswanul6331 Did you fix this? I'm having the same exact problem as we speak. I pinged google and amazon and it was a success. Is the repolink inactive now?

    • @herlanyuswanul6331
      @herlanyuswanul6331 3 роки тому

      @@BKUnderstanding no. I use another machine.

  • @ykw8398
    @ykw8398 2 роки тому

    hi the dnf repos do not work, could you advise?

    • @dbrine
      @dbrine Рік тому

      dnf update or/and yum repolist

  • @tomodachi8415
    @tomodachi8415 3 роки тому

    rhcsa exam question are the same or different?

  • @venom21wow
    @venom21wow 3 роки тому +1

    Do you have a way we can make these 2 servers?

    • @compsecgadgets
      @compsecgadgets  3 роки тому

      Yeah follow this video, times two ua-cam.com/video/48-Cd7jipsQ/v-deo.html

  • @andthesunsets
    @andthesunsets 3 роки тому

    I tried to change the password on the repo, but it didn't work. Why's this?

    • @andthesunsets
      @andthesunsets 3 роки тому

      After some research, it was selinux making some files read-only so no password will work. If we don't do the enforcing=0 and do the touch /.autorelabel, then this problem does not show up. I would not recommend doing enforcing=0 as it also makes the selinux permissive on the other side of the reboot.

    • @Y3llowMustang
      @Y3llowMustang 3 роки тому

      @@andthesunsets There are a couple of steps you have to perform after changing the root password if you go the enforcing=0 route. You need to restorecon /etc/shadow then setenforce 1 to reenable selinux. I've been doing it this way and experience no issues.

  • @naseeruddin6192
    @naseeruddin6192 3 роки тому +2

    Do you have more practice tests with solutions? Or are you going to have more practice tests?

    • @compsecgadgets
      @compsecgadgets  3 роки тому

      Unfortunately not this is the only official free practice test I can find.

  • @tanobirahmed2180
    @tanobirahmed2180 3 роки тому

    any RHCE ansible practice exam ?

  • @driznacc
    @driznacc 3 місяці тому

    I'm unable to join our discord channel;Says unable to accept invite

  • @quickmiester
    @quickmiester 3 роки тому

    mind sharing the slack invite? hope to learn them before watching

    • @compsecgadgets
      @compsecgadgets  3 роки тому +1

      Hey try this: Join my Slack workspace! join.slack.com/t/redhat-certs/shared_invite/zt-k6ew2jxh-fnBYw2Pw4~PQQE~Nse~wCQ

    • @quickmiester
      @quickmiester 3 роки тому

      @@compsecgadgets thanks! my exam is on monday so im getting dumps/samples as much as i can..SA rule of thumb practice, practice, practice..😁

    • @compsecgadgets
      @compsecgadgets  3 роки тому +1

      Best of luck buddy! 👍

  • @mikkecm
    @mikkecm 3 роки тому +1

    I went to the red hat page but can't find the document you're using in this videos. Where can I find it?
    Thanks a lot by the way!

    • @david2358
      @david2358 3 роки тому +1

      @Miguel, u can't find it on redhat page, he is trying to make ur life easier by preparing this document for you.

  • @mikemosisi6730
    @mikemosisi6730 3 роки тому

    What’s the root password?