[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

User Security Persona? (UIC, privileges)

» close window

The Question is:

 
I have a macro routine which is used to play with UIC's inorder to provide file
 security. The macro programs calls two system routines, setuic and setpriv.
 When I go to link the program I get the following error messages:
%LINK-I-UDFSYM,         SETPRIV
%LINK-I-UDFSYM,         SETUIC
 
%LINK-W-USEUNDEF, undefined symbol SETPRIV referenced
        in psect CODE offset %X00000062
        in module SETUIC100 file RD_USER:[WONGH]SETUIC100.OBJ;9
%LINK-W-USEUNDEF, undefined symbol SETUIC referenced
        in psect CODE offset %X0000009C
        in module SETUIC100 file RD_USER:[WONGH]SETUIC100.OBJ;9
Are these system routines that are no longer supported?? If true what are the
 new equivalents??
 
Thanks
 
 
 


The Answer is :

 
  There are no system routines in the OpenVMS libraries named
  SETPRIV or SETUIC.  You are apparently attempting to reference
  routines that are defined in an application-specific library,
  or that are not defined.
 
  The WHEEL and GLOGIN Freeware tools might be of interest here.
 
  Were you to upgrade to a somewhat more recent version of OpenVMS,
  you would have access to subsystem identifiers -- a mechanism where
  an image can be "installed" with an identifier -- and various other
  mechanisms.  With an upgrade to OpenVMS V6.2 and later, you would
  also have access to the persona system services, system services
  specifically targeted at correctly establishing the entire required
  security profile within the target process context -- there is rather
  more to the user context than the privilege mask and the UIC, and
  changing strictly the privileges and the UIC without appropriately
  changing the ownership of devices, of logical name tables, and of
  other constructs can lead to various run-time problems.
 
 

answer written or last revised on ( 8-MAR-2001 )

» close window