You are a compliance officer who is performing an environment-variable audit on a Linux workstation.
You are a compliance officer who is performing an environment-variable audit on a Linux workstation.: a task in endless-terminals-rootless-apptainer: Endless Terminals 1K: rootless Apptainer release (Harbor dataset). Goal: 1. Capture every environment variable whose name begins with either SEC or…
The task
Goal: 1. Capture every environment variable whose name begins with either **SEC_** or **COMPLIANCE_**. 2. Store those variables in a log file for record-keeping. 3. Create a new dotenv file that establishes the mandatory baseline compliance settings. 4. Make sure the user’s interactive shell will load those baseline…