Solaris 8 Script Question - TechRepublic
General discussion
March 28, 2002 at 12:41 AM
rpoffenberger

Solaris 8 Script Question

by rpoffenberger . Updated 24 years, 1 month ago

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?

This discussion is locked

All Comments