Somewhat of a riddle, but I am sure someone on the list knows the
answer.
List user shows the User capability
of:AM,OP,CV,UV,CS,ND,SF,BA,IA,MR,DS,PH
When I call the WHO intrinsic is returns the following bit map:
01000111000001110000000110001011
The application program I am writing test for bit 0:1, and 1:1, to
allow only
System Managers full access, and Account Managers limited access, and
denies access to all others.
It all works great, until I run GOD. When God is executed prior to
running my program,
then WHO returns the following bit map:
00000000000000010000000000000001
Does anyone have some additional insight to what Vesoft is doing to the
capability bit map. I know I can change the program
logic to test for a capability bitmap equal too
'00000000000000010000000000000001', but that seems illogical.
What (more logical) condition can be tested to know if GOD has been
executed?
WHO CAPABILITY
Bits Value/Meaning
0:1 System manager (SM)
1:1 Account manager (AM)
2:1 Account librarian (AL)
3:1 Group librarian (GL)
4:1 Diagnostician (DI)
5:1 System supervisor (OP)
6:1 Volume set creation (CV)
7:1 Volume set usage (UV)
8:1 User logging (LG)
9:4 Reserved for the operating system
13:1 Communications system (CS)
14:1 Nonshareable devices (ND)
15:1 Save files (SF)
16:7 Reserved for the operating system
23:1 Batch access (BA)
24:1 Interactive access (IA)
25:1 Privileged mode (PM)
26:2 Reserved for the operating system
28:1 Multiple RINs (MR)
29:1 Reserved for the operating system
30:1 Extra data segments (DS)
31:1 Process handling (PH)
--
Michael Anderson
Spring Independent School District
16717 Ella Boulevard
Houston, Texas 77090-4299
office: 281.586.1105
fax: 281.586.1187
-
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|