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
@spelchk9 ай бұрын
for the selinux context part - I had to install httpd to follow the exercise. Very good content!
@mikeharris86643 ай бұрын
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 Жыл бұрын
One by one, gonna eat up all the videos. Thanks, really appreciate it. 👾👾
@doaa79242 жыл бұрын
you are literally a life saver. THANK YOUUU!!!
@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 Жыл бұрын
It would work directly
@johnnydeals1705 Жыл бұрын
excellent job
@mauricionovoa90402 жыл бұрын
great example!!!! on tree steep more used
@TheMysteryMinds.11 ай бұрын
hi dextutor, quick question can I use chcon -t rather than semanage fcontext "(.*)?" , restorecon -Rv
@dextutor11 ай бұрын
If it is giving the same result then surely you can
@edith_10452 жыл бұрын
Very well explained sir... Thank you
@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 Жыл бұрын
@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 Жыл бұрын
is there any way to change or edit port in configuration file ? or semanage is the only option ?
@robusthacker28005 ай бұрын
Will there be any questions for firewall-cmd ?
@dextutor4 ай бұрын
Yes..there can be..or you might have to use it in some other context also
@lynx08082 жыл бұрын
This was very helpful, thank you!
@sushilmestri2 жыл бұрын
Thank you sir !
@crimsonghoul89832 жыл бұрын
Are they going to ask questions using http only or would they ask us to enable port or settings for other services or applications?
@dextutor2 жыл бұрын
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
@juniali1232 ай бұрын
I got it,
@killakan862 жыл бұрын
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.
@dextutor2 жыл бұрын
For ports the context is httpd_port_t. Its fixed
@doaa79242 жыл бұрын
you can use semanage port -l to see the list of contexts or SELinux Port Types
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 Жыл бұрын
No idea.. Sorry
@juniali1232 ай бұрын
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
@dextutor2 ай бұрын
Have you changed the SELinux context and edit the configuration file?
@kamaleshparthiban85322 жыл бұрын
Hi bro can you make video what kind of questions will be asked in the exam rhel 8 RHCSA
@dextutor2 жыл бұрын
Dear this video and the rest of the videos in the playlist contains exactly what you are looking for
@luvk4212 жыл бұрын
@@dextutor hiya from where can i get centOs 8? If I'm not wrong its dead on 31 dec 2021
@ritredamehilamin18442 жыл бұрын
@@dextutor 4fdfxddçfA da ßßßs2qasf
@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 Жыл бұрын
You can but there is no need to reboot. And in case you reset it by mistake you will loose all work
@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 Жыл бұрын
Yes you can do
@sandip542 Жыл бұрын
@@dextutor how to register for rhcsa 8 exam,,
@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
@ha77632 жыл бұрын
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 ?
@dextutor2 жыл бұрын
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
@Linuxenthusiast2 жыл бұрын
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
@rottenfist2202 жыл бұрын
Warning in RHEL9 you cannot completely disable SELinux anymore.