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.....
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?????
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?????
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
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. 🙏🏼
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.
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 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.
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"
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.
@@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!
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
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
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 :)
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?
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
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?
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
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
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
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
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.
@@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?
@@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. :)
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.
@@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.
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?
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.....
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?????
Thnx a lot... Your videos helped a lot in my passing of RHCSA...
Glad to help! 😊
Thank you for this, this gives me the confidence to take the exam this coming weekend.
All the best for your exam!
How did the exam go for you John? Was this preparations helpful?
@@STTEBID he failed
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?????
Hi. The \ is appears automatically to point the line break. You don't have to manually write it.
@@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
You are Awesome!!!
Glad to help in some way 😃
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
Very helpful thx. 6 -19 wait for you)
On its way, next week 😀
lol
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 ?
😮😮😮 my question too
Exam is based on RHEL 8
Thanks
You are welcome :)
This is an awesome video 👍🙌💯
Thank you 🙌
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. 🙏🏼
What would the alternative be?
Thank you!
You're welcome!
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.
Autorelanel is the best way bro
Hi! Please, why did you mount sysroot as read only at the end?
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?
Yeah old habits die hard 😁 Ip is the better command to use going forward
@@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.
Doesn't matter really how you achieve the result only thing it must be persistent
Hi, do you have any updates for 2022
do we need to add ipv4.method manul in question number 4 ?
That's right.
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"
Did you add a new line or anything like that?
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.
@@compsecgadgets nope nothing.
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
As part of the original build there were two interfaces on that server.
Hi rhel8 exam where u can find the ctrl+alt+del cmd for edit the kernel
Is the real exam like this level? or way more difficult? and also similar concepts? because LVM questions are occupied quiet a lot
Harder. need to know these as well.
Hi, The exam was taken on "mother" Redhat with KVM guest inside where the exam happened? nor with virtual box. Thanks in advance.
Kvm is essentially the same thing but on Linux. Virtualbox is used because most of us have Windows Desktops 😀
@@compsecgadgets Yes of course, I am aware about it since the beginning, but real exam is happening on KVM nor Virtualbox? Thanks.
As per here: www.reddit.com/r/redhat/comments/b5sk8n/kvm_for_rhcsa/
In the Last step i cant mount on / (cant find UUID) filesystem is xfs ! Can you help me?
Try running blkid to make sure you have the right UUID?
@@compsecgadgets or lsblk --output--all
I'm unable to join our discord channel;Says unable to accept invite
Try this one discord.gg/hHwyWngd
Why not drop "setenforcing=0" do everything the same way but do "touch /.autorelabel" after changing the password and then reboot?
Auto Relabel takes a very long time, in the exam I would suggest you don't use it.
@@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!
No worries glad to help! 😀
where did you get the vm's for this practice test?
Check out my environment setup video: ua-cam.com/video/YPN7FJlVPxI/v-deo.html
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
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
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 :)
Do you have a video on how to set up a lab for practicing these type of questions?
yes, look at his latest videos.
@@alexstoubis890 thank you!!!
i didnt put + to add secondary ipv6.address at 14:45 min. or is that the right way?
If you are adding an additional address yes you need the +. It cannot hurt to have it added either way
what is specifications of your host machine. which laptop is best for setting the RHCSA practise lab. please suggest some good laptop.
Its nothing special a 6 core processor + 16GB RAM. Most decent laptops nowadays will have more than that.
hi the dnf repos do not work, could you advise?
dnf update or/and yum repolist
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?
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
same here getting “Failed to Synchronize Cache For Repo ‘repo_name’, Ignoring This Repo”
can anyone help?
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?
Very helpful 👍
where can we find the file with the questions?
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
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
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
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
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.
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
Do a yum repolist to check what you see there?
@@compsecgadgets nothing. Just my new repo with link above
Do a yum clean all see if that helps. Also check if you can ping something like Google to test internet connectivity
@@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?
@@BKUnderstanding no. I use another machine.
Hi I found these questions very useful can u share from to get such questions for practice.
Can anyone help w/ #2? I legit failed the exam cause of that. To add remote repositories dnf config-manager alone doesn’t work.
#dnf config-manager --add-repo link
hm. i still need to change the shadow file label after the first step. selinux was throwing a fit
Did you set the enforcing=0 after rd.break?
@@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. :)
Does anyone know the container questions on the test ? something about systemd and logs?
I cannot give specifics, sorry.
Do you have a way we can make these 2 servers?
Yeah follow this video, times two ua-cam.com/video/48-Cd7jipsQ/v-deo.html
Failed to synchronize cache for repo 'AppStream', ignoring this repo.
Failed to synchronize cache for repo 'BaseOS', ignoring this repo.
I tried to change the password on the repo, but it didn't work. Why's this?
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.
@@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.
rhcsa exam question are the same or different?
Do you have more practice tests with solutions? Or are you going to have more practice tests?
Unfortunately not this is the only official free practice test I can find.
any RHCE ansible practice exam ?
It will come in a later video.
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?
I've not done the LPI essentials but it looks pretty good. Thanks for subscribing!
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!
@Miguel, u can't find it on redhat page, he is trying to make ur life easier by preparing this document for you.
mind sharing the slack invite? hope to learn them before watching
Hey try this: Join my Slack workspace! join.slack.com/t/redhat-certs/shared_invite/zt-k6ew2jxh-fnBYw2Pw4~PQQE~Nse~wCQ
@@compsecgadgets thanks! my exam is on monday so im getting dumps/samples as much as i can..SA rule of thumb practice, practice, practice..😁
Best of luck buddy! 👍
What’s the root password?
wander