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

  Рет қаралды 21,031

DexTutor

DexTutor

Күн бұрын

Пікірлер: 52
@spelchk
@spelchk 11 ай бұрын
for the selinux context part - I had to install httpd to follow the exercise. Very good content!
@pdavid555
@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
@arghosinha Жыл бұрын
One by one, gonna eat up all the videos. Thanks, really appreciate it. 👾👾
@mikeharris8664
@mikeharris8664 6 ай бұрын
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.
@doaa7924
@doaa7924 2 жыл бұрын
you are literally a life saver. THANK YOUUU!!!
@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
@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 ?
@ponnuponnu731
@ponnuponnu731 Жыл бұрын
is there any way to change or edit port in configuration file ? or semanage is the only option ?
@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?
@juniali123
@juniali123 5 ай бұрын
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 5 ай бұрын
Have you changed the SELinux context and edit the configuration file?
@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 2 жыл бұрын
semanage port -l | grep http
@sandip542
@sandip542 2 жыл бұрын
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 2 жыл бұрын
You can but there is no need to reboot. And in case you reset it by mistake you will loose all work
@sandip542
@sandip542 2 жыл бұрын
@@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 2 жыл бұрын
Yes you can do
@sandip542
@sandip542 2 жыл бұрын
@@dextutor how to register for rhcsa 8 exam,,
@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
@TheMysteryMinds.
@TheMysteryMinds. Жыл бұрын
hi dextutor, quick question can I use chcon -t rather than semanage fcontext "(.*)?" , restorecon -Rv
@dextutor
@dextutor Жыл бұрын
If it is giving the same result then surely you can
@johnnydeals1705
@johnnydeals1705 Жыл бұрын
excellent job
@robusthacker2800
@robusthacker2800 7 ай бұрын
Will there be any questions for firewall-cmd ?
@dextutor
@dextutor 7 ай бұрын
Yes..there can be..or you might have to use it in some other context also
@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
@edith_1045
@edith_1045 3 жыл бұрын
Very well explained sir... Thank you
@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
@mauricionovoa9040
@mauricionovoa9040 2 жыл бұрын
great example!!!! on tree steep more used
@lynx0808
@lynx0808 3 жыл бұрын
This was very helpful, thank you!
@luvk421
@luvk421 2 жыл бұрын
I'm not getting content part
@sushilmestri
@sushilmestri 2 жыл бұрын
Thank you sir !
@warronfrench8163
@warronfrench8163 2 жыл бұрын
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 2 жыл бұрын
No idea.. Sorry
@kamaleshparthiban8532
@kamaleshparthiban8532 3 жыл бұрын
Hi bro can you make video what kind of questions will be asked in the exam rhel 8 RHCSA
@dextutor
@dextutor 3 жыл бұрын
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
@gnanatejaags2163
@gnanatejaags2163 3 жыл бұрын
Please do video on "containers".
@dextutor
@dextutor 3 жыл бұрын
Coming soon
@dextutor
@dextutor 3 жыл бұрын
kzbin.info/www/bejne/paqrnqB9jZVkrq8 kzbin.info/www/bejne/ona0eGWal8innMU
@nandhiniramamurthy4290
@nandhiniramamurthy4290 3 жыл бұрын
Please do a video on autofs
@dextutor
@dextutor 3 жыл бұрын
Sure
@juniali123
@juniali123 5 ай бұрын
I got it,
@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
RHCSA Exam Networking Questions || Hostname || RHEL 9
21:52
DexTutor
Рет қаралды 20 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
About SELinux
21:56
EF - Linux Made Simple
Рет қаралды 32 М.
I Hate SELinux. You Can Too. (Linux+ Objective 2.5.1)
31:23
Shawn Powers
Рет қаралды 10 М.
Security-Enhanced Linux for mere mortals
43:58
Red Hat Summit
Рет қаралды 133 М.
RHCSA EX200: RHEL 9.0 Containers
13:52
Scientific Programming School
Рет қаралды 15 М.
RHCSA Exam Disk Partition and Swap Space Question || RHEL 9
19:25
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН