I know the default account is the 'root',
but my system has several non-root account like transmission as so.
So I need 'sudo' since the series of scripts are common/shared script across all other processes.
Again,
my question is that
why the symptom happened that not find the command by sudo?
This is very reminiscent of a recent problem where you were trying to run as a non-privileged user and apparently trying to write a lock file into a directory owned by root without write permission. As I recommended in that thread, you should probably create a run directory for your lock files that is owned by the process that is going to write the locks.
As an aside, PHP and elevated privileges is a very bad combination.
"Less aside", if sudo works without a password, from a security standpoint, you might as well be running as root.
Jeff,
I'm not asking you that workaround or best practice
but the reason why. You keep miss pointing out from time to time.
As the previous thread, you didn't even suggested any workaround to me(I saw the reply that deleted which the rude and aggressive without any solution or advice but complaining).
I'm not looking for a one who teaching me since 30 years of IT guys in this IT industry who fully understand what is what.
And now again, I feel that you don't even understand the why the symptom happened.
You keep under estimate people's effort to investigate the root of the problem.
If you don't have any hint TO HELP people, just may keep silence. You make people uncomfortable and totally miss-point-out of the question. If you are not so good at English to give people your thinking, you may keep silence.
Jeff, you, hope that you please keep distance away from my post further.