Clarify NIST baseline in exercise 5.

This commit is contained in:
2024-11-06 23:19:33 +13:00
parent 638c51d539
commit 879aaecdcf
2 changed files with 3 additions and 2 deletions

View File

@ -127,7 +127,7 @@ oc adm policy add-scc-to-user privileged -z default -n prd-acme-payments
#+begin_src tmux
# Create the namespace for the exercise
oc new-project acme-prd-experimental
oc new-project prd-acme-experimental
# Retrive existing users htpasswd file
oc get secret htpasswd -ojsonpath={.data.htpasswd} -n openshift-config | base64 --decode > ${HOME}/Downloads/users.htpasswd
@ -146,6 +146,7 @@ htpasswd -bB ${HOME}/Downloads/users.htpasswd alienated-proud-snail admin
# Replace the secret
oc create secret generic htpasswd --from-file=htpasswd=${HOME}/Downloads/users.htpasswd --dry-run=client --output yaml --namespace openshift-config | oc replace --filename -
sleep 10
# Login as a specified user
oc login --username alienated-proud-snail --password admin