Task: Implement User Switching in a Perl Script
Task: Implement User Switching in a Perl Script: a task in Terminal-Lego-15k (Harbor dataset). Write a Perl script that demonstrates the ability to switch between different user identities (root and a regular user) within a single script execution. The script must start running as root, switch to…
The task
Write a Perl script that demonstrates the ability to switch between different user identities (root and a regular user) within a single script execution. The script must start running as root, switch to a regular user, and then switch back to root.
Part of PrimeIntellect/Terminal-Lego-15k.