HF RL Explorer

Task: Implement Single Password Prompt for Sudo in Bash Script

Task: Implement Single Password Prompt for Sudo in Bash Script: a task in Terminal-Lego-15k (Harbor dataset). You need to create a bash script that prompts for a user password only once and then uses that password to execute multiple functions that require elevated (sudo) permissions — all within…

The task

You need to create a bash script that prompts for a user password only once and then uses that password to execute multiple functions that require elevated (sudo) permissions — all within a single script.

Part of PrimeIntellect/Terminal-Lego-15k.