From the course: Red Hat Enterprise Linux 8 Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Manage SELinux for NFS services
From the course: Red Hat Enterprise Linux 8 Essential Training
Manage SELinux for NFS services
- SELinux, the mandatory access control system in enterprise Linux seven has controls that limit or grant access to all services including NFS. Let's take a look at some of the bullions and security contexts that relate to NFS. You will want to be logged in to rrhost1 with the terminal open. Before we begin, we need to start the NFS service if it is not running. In a terminal, type in sudo, space, systemctl, space, start, space, nfs-server and hit enter. Type in your password if prompted. Make it persistent by bringing your line back, and change start to enable, and hit enter again. Now, let's take a look at the security context of the running processes. Type in clear, and then type in ps, space, dash, e, capital z, space, pipe, space, egrep, space, single quote, nfs, pipe, rpc, single quote. This will look for lines that include either nfs or rpc in the output of ps. We can see that the security context of rpcbind is rpcbind_t, and the context of nfsd is kernel_t. Now let's take a…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
NFS services introduction38s
-
(Locked)
Install NFS and configure NFS services1m 55s
-
(Locked)
Manage SELinux for NFS services3m 24s
-
Provide network shares to specific clients4m 21s
-
(Locked)
Mount a simple NFS share1m 38s
-
(Locked)
Create an NFS share for group collaboration4m 31s
-
(Locked)
Mount an NFS share for group collaboration3m 56s
-
(Locked)
Challenge: NFS share for group collaboration52s
-
(Locked)
Solution: NFS share for group collaboration7m 17s
-
(Locked)
-
-
-
-