Secuity of su root in bash script
I have a bash script which runs commands that require root privileges. I'm
trying to decide between setting "su root" at the start of the script, or
running each command prefixed with "sudo". What are the pros and cons of
these methods, and which is more secure? Or is there a better method to
use? Thanks!
No comments:
Post a Comment