script to su with password in script without root

You can pipe the password to su like this:

echo pa$$w0rd | su -c whoami user_1