I would like userA to be able to run a script that switches to userB in the script, because I do not want userA to have access to certain files. My problem is that I can’t get the su command to work in the script without being prompted to enter the password when userA runs the script. Is there a way to code the password in the script?