How can I run script with root privileges?
How can I make a script that any user can run it? This script makes log files that stored on the root volume [no one of the user can read it more modified these logs]
I dont want to use su command inside the script as I store the current user info inside these log files
thank you
Start Free Trial