Discussion Locked
Solaris 8 Script Question
0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
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?