for the selinux context part - I had to install httpd to follow the exercise. Very good content!
@pdavid555 Жыл бұрын
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
@arghosinha Жыл бұрын
One by one, gonna eat up all the videos. Thanks, really appreciate it. 👾👾
@mikeharris86646 ай бұрын
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.
@doaa79242 жыл бұрын
you are literally a life saver. THANK YOUUU!!!
@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
@ponnuponnu731 Жыл бұрын
when we change the Boolean using "setsebool" it is non persisten you said sir , so in exam how to set in persistent manner ?
@ponnuponnu731 Жыл бұрын
is there any way to change or edit port in configuration file ? or semanage is the only option ?
@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?
@juniali1235 ай бұрын
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
@dextutor5 ай бұрын
Have you changed the SELinux context and edit the configuration file?
@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
@tonyg4602 жыл бұрын
semanage port -l | grep http
@sandip5422 жыл бұрын
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?
@dextutor2 жыл бұрын
You can but there is no need to reboot. And in case you reset it by mistake you will loose all work
@sandip5422 жыл бұрын
@@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
@dextutor2 жыл бұрын
Yes you can do
@sandip5422 жыл бұрын
@@dextutor how to register for rhcsa 8 exam,,
@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
@TheMysteryMinds. Жыл бұрын
hi dextutor, quick question can I use chcon -t rather than semanage fcontext "(.*)?" , restorecon -Rv
@dextutor Жыл бұрын
If it is giving the same result then surely you can
@johnnydeals1705 Жыл бұрын
excellent job
@robusthacker28007 ай бұрын
Will there be any questions for firewall-cmd ?
@dextutor7 ай бұрын
Yes..there can be..or you might have to use it in some other context also
@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
@edith_10453 жыл бұрын
Very well explained sir... Thank you
@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
@mauricionovoa90402 жыл бұрын
great example!!!! on tree steep more used
@lynx08083 жыл бұрын
This was very helpful, thank you!
@luvk4212 жыл бұрын
I'm not getting content part
@sushilmestri2 жыл бұрын
Thank you sir !
@warronfrench81632 жыл бұрын
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.
@dextutor2 жыл бұрын
No idea.. Sorry
@kamaleshparthiban85323 жыл бұрын
Hi bro can you make video what kind of questions will be asked in the exam rhel 8 RHCSA
@dextutor3 жыл бұрын
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