  L /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *  *  *  *<  *                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\=  *                %% \___________________________________%% \ >  *                %% |                                   %%  \?  *                %% |            PERSONA-DECW           %%   \ @  *                %% |        persona_decw.c  c2003      %%    \@  *                %% |            Lyle W. West           %%    |@  *                %% |                                   %%    |@  *                %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    |@  *                \                                        \   |@  *                 \                                        \  |@  *                  \                                        \ |@  *                   \________________________________________\|  *  *  *9  *  Copyright (C) 2003 Lyle W. West, All Rights Reserved. J  *  Permission is granted to copy and use this program so long as [1] thisH  *  copyright notice is preserved, and [2] no financial gain is involvedH  *  in copying the program.  This program may not be sold as "shareware"G  *  or "public domain" software without the express, written permission   *  of the author.  *  *  * FACILITY: PERSONA_DECW   *L  * ABSTRACT:  This program allows a privileged user to obtain an interactiveN  *            session on behalf of another user.  The privileged user inheritsP  *            the complete environment of the target user including DCL symbols,M  *            PROCESS/JOB/GROUP logical names, process quotas, privileges and K  *            rights identifiers and all environmentals which are set up in )  *            the target user's LOGIN.COM   *  * ENVIRONMENT: User mode   *D  * SECURITY: Install with CMKRNL, DETACH(IMPERSONATE), SYSPRV, WORLD  *$  * Usage:    $ PERSONA_DECW USERNAME  *N  *           PERSONA_DECW (or any chosen name) is defined as a foreign symbol,8  *           USERNAME is a valid username on the system.G  *           Although no qualifiers are present for remote displays, if E  *           user currently has Decw$Display job logical defined, the I  *           resultant DecTerm will display on the appropriate screen, if 3  *           correct Decw security info is present.   *I  * INFO:     Requires the FTA psuedo terminal driver. PERSONA_DECW  is an F  *           enhancement of the PERSONA utility written by this authorK  *           several years back. Unlike PERSONA, PERSONA_DECW  does not use J  *           a pseudo-terminal, it creates a separate DecTerm window ownedG  *           by the target user. Control of the originating terminal is H  *           then immediately returned to the invoking user, independentJ  *           from the created decterm process. Unlike PERSONA, the createdI  *           DecTerm will be a detached process, the subprocess option is M  *           not available. Otherwise, both tools are functionally identical.   *O  *           Unlike the pseudo-term version, PERSONA_DECW will require the user L  *           to enable DecWindows security on the orignating display system,F  *           entering the username, node and transport. Otherwise, tneI  *           invoking user will receive an error message stating the user "  *           'can't open display'.  *M  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */   