Problem Note 1310: ERROR: User does not have appropriate authority for WORK with setuid
When attempting to enable a SAS V7 or V8 program with the
"setuid" bit, users may receive the following error message:
ERROR: User does not have appropriate authorization level
for library WORK.
Task Traceback
ERROR: Generic critical error.
In Release 6.12 for UNIX, users were able to enable "setuid"
by changing the permission of a shell script or C module and
adding the correct, setuid permissions. In V7 and V8, the
C programs will have to be modified to set the effective userid
via the "setreuid" system call. Below is an example of a C
program on a Solaris 2 server that will invoke a shell script
called "callsas":
#include <stdio.h>
main()
{
if (setreuid(3762,3762)) perror ("could not set the user ids");
execlp ("callsas", "callsas", NULL); }
Operating System and Release Information
| Product Family | Product | System | Reported Release | Fixed Release* |
| SAS System | Base SAS | 64-bit Enabled Solaris | 8 TS M0 | 8.1 TS1M0 |
| ABI+ for Intel Architecture | 8 TS M0 | 8.1 TS1M0 |
| Solaris | 8 TS M0 | 8.1 TS1M0 |
| IRIX | 8 TS M0 | 8.1 TS1M0 |
| HP-UX | 8 TS M0 | 8.1 TS1M0 |
| Tru64 UNIX | 8 TS M0 | 8.1 TS1M0 |
| 64-bit Enabled HP-UX | 8 TS M0 | 8.1 TS1M0 |
| 64-bit Enabled AIX | 8 TS M0 | 8.1 TS1M0 |
| AIX | 8 TS M0 | 8.1 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | high |
| Date Modified: | 1999-10-29 00:00:00 |
| Date Created: | 1999-10-29 00:00:00 |