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.

Create access control

Create access control

From the course: Red Hat Enterprise Linux 8 Essential Training

Start my 1-month free trial

Create access control

- [Instructor] In previous videos of this chapter we created a back store, a target, and a LUN. Now lets create an access control list. Be sure you're logged into your rhhost1 VM and you have a terminal open with targetcli running as root. You haven't done this. Type in sudo space targetcli and hit enter. Let's also verify our progress. Go to your targetcli root by typing in cd space slash and hit enter. Then type in ls. You should see our file io back store named file1. You should also see a target named iqn.2018-04.com.localnet:filedisk1 which has a LUN and a portal. The latter was auto generated because we're using a version of Enterprise Linux newer than 7.1. Now let's cd into our target's, target portal group. Use tag completion for this by typing in cd iscsi slash iqn, hit your tab key, and add tpg1 to the end and hit enter. Type in PWD to verify where you are. You should be in slash iscsi slash iqn.2018-04.com.localnet:filedisk1 slash tpg1. If so, we can continue. To create an…

Contents