Add cache password as input parameter

When other scripts run with sudo. It may want direct pass password to run commands