I do not understand why behavior is different between SunOS 4.1 and 5.2.
I have an executable file with the setuid bit on (anyone can execute
it), owned by user A. The executable file does a system("bbb"), where
bbb is a sh script. The script accesses a file which is only readable
by user A.
In SunOS 4.1, when someone other than user A runs the executable file, the
file (readable only by user A) is accessed OK.
But in SunOS 5.2, when someone other than user A runs the executable file,
access is prevented.
Any ideas or help would be appreciated. Please email me.