RHCSA SELinux Questions || SELinux Example || semanage || RHEL 9

  Рет қаралды 19,998

DexTutor

DexTutor

Күн бұрын

Пікірлер: 52
@pdavid555
@pdavid555 9 ай бұрын
excellent lecture! You should always prioritize permanent solution : $setenforce 0 or 1 will only set it temporarily. Once the machine reboot you will lose the configuration
@spelchk
@spelchk 9 ай бұрын
for the selinux context part - I had to install httpd to follow the exercise. Very good content!
@mikeharris8664
@mikeharris8664 3 ай бұрын
Guys, for changing the port, the semanage-port man page literally gives the exact command that is needed. It's down at the very bottom. No need to memorize commands.
@arghosinha1424
@arghosinha1424 Жыл бұрын
One by one, gonna eat up all the videos. Thanks, really appreciate it. 👾👾
@doaa7924
@doaa7924 2 жыл бұрын
you are literally a life saver. THANK YOUUU!!!
@senesiethomas7141
@senesiethomas7141 Жыл бұрын
brilliant presentation: my question is after allowing port 82, should we update the Apache configuration file(sudo vi /etc/httpd/conf/httpd.conf for the httpd service to listen to port 82 by modifying the listening port to 82 and starting and enable the http service? or the question will tell you if need be. Just wanted to know since i saw that you addended the port and I wanted to know if that is where to stop...Thank you very much for your wonderful dedication:
@dextutor
@dextutor Жыл бұрын
It would work directly
@johnnydeals1705
@johnnydeals1705 Жыл бұрын
excellent job
@mauricionovoa9040
@mauricionovoa9040 2 жыл бұрын
great example!!!! on tree steep more used
@TheMysteryMinds.
@TheMysteryMinds. 11 ай бұрын
hi dextutor, quick question can I use chcon -t rather than semanage fcontext "(.*)?" , restorecon -Rv
@dextutor
@dextutor 11 ай бұрын
If it is giving the same result then surely you can
@edith_1045
@edith_1045 2 жыл бұрын
Very well explained sir... Thank you
@ponnuponnu731
@ponnuponnu731 Жыл бұрын
when we change the Boolean using "setsebool" it is non persisten you said sir , so in exam how to set in persistent manner ?
@harprem5124
@harprem5124 Жыл бұрын
@dextutor I had a exam question asking for html port change to 81.in that case am I suppose to run the same selinux port command run for http?
@ponnuponnu731
@ponnuponnu731 Жыл бұрын
is there any way to change or edit port in configuration file ? or semanage is the only option ?
@robusthacker2800
@robusthacker2800 5 ай бұрын
Will there be any questions for firewall-cmd ?
@dextutor
@dextutor 4 ай бұрын
Yes..there can be..or you might have to use it in some other context also
@lynx0808
@lynx0808 2 жыл бұрын
This was very helpful, thank you!
@sushilmestri
@sushilmestri 2 жыл бұрын
Thank you sir !
@crimsonghoul8983
@crimsonghoul8983 2 жыл бұрын
Are they going to ask questions using http only or would they ask us to enable port or settings for other services or applications?
@dextutor
@dextutor 2 жыл бұрын
Anything can be asked. Even you might to have to enable a port for a question where it might not have been explicitly mentioned. The point is you should know how to work with everything
@juniali123
@juniali123 2 ай бұрын
I got it,
@killakan86
@killakan86 2 жыл бұрын
Thank you very much sir. But in 6:05 How should we know that the context here is httpd_port_t ? i would not have known it.
@dextutor
@dextutor 2 жыл бұрын
For ports the context is httpd_port_t. Its fixed
@doaa7924
@doaa7924 2 жыл бұрын
you can use semanage port -l to see the list of contexts or SELinux Port Types
@tonyg460
@tonyg460 Жыл бұрын
semanage port -l | grep http
@gnanatejaags2163
@gnanatejaags2163 2 жыл бұрын
Please do video on "containers".
@dextutor
@dextutor 2 жыл бұрын
Coming soon
@dextutor
@dextutor 2 жыл бұрын
kzbin.info/www/bejne/paqrnqB9jZVkrq8 kzbin.info/www/bejne/ona0eGWal8innMU
@nandhiniramamurthy4290
@nandhiniramamurthy4290 2 жыл бұрын
Please do a video on autofs
@dextutor
@dextutor 2 жыл бұрын
Sure
@warronfrench8163
@warronfrench8163 Жыл бұрын
Have you ever heard of semanage login -a -s staff_u somuser causing networking to break? It happened to me three times this past week. It could be a coincidence but I was the only administrator on the machine.
@dextutor
@dextutor Жыл бұрын
No idea.. Sorry
@juniali123
@juniali123 2 ай бұрын
when done adding context to /test dir after that when doing curl locahost/index.html" I'm getting message "you do not have permission to access /index.html" even though I have given full permission on the file 777, please let me know ASAP I will be taking the test next week. Thanks
@dextutor
@dextutor 2 ай бұрын
Have you changed the SELinux context and edit the configuration file?
@kamaleshparthiban8532
@kamaleshparthiban8532 2 жыл бұрын
Hi bro can you make video what kind of questions will be asked in the exam rhel 8 RHCSA
@dextutor
@dextutor 2 жыл бұрын
Dear this video and the rest of the videos in the playlist contains exactly what you are looking for
@luvk421
@luvk421 2 жыл бұрын
@@dextutor hiya from where can i get centOs 8? If I'm not wrong its dead on 31 dec 2021
@ritredamehilamin1844
@ritredamehilamin1844 2 жыл бұрын
@@dextutor 4fdfxddçfA da ßßßs2qasf
@sandip542
@sandip542 Жыл бұрын
Can we reboot the server,,in rhcsa exam,,,for example if we change settings in/etc/selinuxconfig in order to get the changes persistent we need to reboot the server?
@dextutor
@dextutor Жыл бұрын
You can but there is no need to reboot. And in case you reset it by mistake you will loose all work
@sandip542
@sandip542 Жыл бұрын
@@dextutor then what about if they ask like change selinux mode to permissive and it should be persistent....we need to alter the selinux config file na and changes should persist only after reboot right
@dextutor
@dextutor Жыл бұрын
Yes you can do
@sandip542
@sandip542 Жыл бұрын
@@dextutor how to register for rhcsa 8 exam,,
@GopalPokhrel
@GopalPokhrel Жыл бұрын
in mycase semanage-fcontext not been able to change the context of the /testweb. i did both semanage-fcontext and restorecon . someone share the possible reasons
@ha7763
@ha7763 2 жыл бұрын
If I receive an error message saying "httpd.service failed to start because the control process exited with error code" how can I fix this ?
@dextutor
@dextutor 2 жыл бұрын
Thete can be multiple reasons.. See if any solution in this link works stackoverflow.com/questions/37119479/job-for-httpd-service-failed-because-the-control-process-exited-with-error-code
@Linuxenthusiast
@Linuxenthusiast 2 жыл бұрын
check what's the systemctl status httpd , and it will give you the error. I got the same error and was able to figure it out
@rottenfist220
@rottenfist220 2 жыл бұрын
Warning in RHEL9 you cannot completely disable SELinux anymore.
@dextutor
@dextutor 2 жыл бұрын
Check access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/using_selinux/index
@luvk421
@luvk421 2 жыл бұрын
I'm not getting content part
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 35 МЛН
This dad wins Halloween! 🎃💀
01:00
Justin Flom
Рет қаралды 67 МЛН
PIZZA or CHICKEN // Left or Right Challenge
00:18
Hungry FAM
Рет қаралды 14 МЛН
RHCSA Exam Networking Questions || Hostname || RHEL 9
21:52
DexTutor
Рет қаралды 19 М.
Top 10 Linux Job Interview Questions
16:04
tutoriaLinux
Рет қаралды 2,4 МЛН
About SELinux
21:56
EF - Linux Made Simple
Рет қаралды 30 М.
Reset Root Password - RHCSA v9 Review
10:02
beanologi
Рет қаралды 7 М.
Security-Enhanced Linux for mere mortals
43:58
Red Hat Summit
Рет қаралды 129 М.
RHCSA EX200: RHEL 9.0 Containers
13:52
Scientific Programming School
Рет қаралды 14 М.
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН