HP manual Sentry Internal Subroutines, Sample Call @SENTRY.ENCRYPTDATA.STRING, RETURN.STRING

Page 103

SENTRY User’s Guide

Appendix 1 - 1

APPENDIX 1

SENTRY INTERNAL SUBROUTINES

NOTICE

The subroutines documented in this appendix are provided as a convenience to the user on a "USE AT YOUR OWN RISK" basis. If you wish to use these programs and need assistance we are willing to help. However, because we cannot prevent misuse or "accidents" which might cause data corruption we must remind you that you are fully responsible!

Be careful . . . . practice safe computing.

All subroutines are catalogued globally as "*SENTRY...". We recommend the following example of BASIC syntax as the preferred technique for calling the SENTRY Subroutines

SENTRY.USER.ITEM.CONTROL="*SENTRY.USER.ITEM.CONTROL"

CALL @SENTRY.USER.ITEM.CONTROL

Subroutine: SENTRY.ENCRYPT

This subroutine is used to encrypt and decrypt data strings based on a user defined encryption key.

Sample: CALL @SENTRY.ENCRYPT(DATA.STRING, RETURN.STRING,

ENCRYPTION.KEY)

Parameters:

DATA.STRING (Input)

This can be any data string of any length including already encrypted data.

RETURN.STRING (Output)

Fitzgerald & Long

Image 103
Contents Sentry Page Table Of Contents Page Using this Guide Introduction Sentry User’s Guide Using the Screens Data Entry Conventions Mv sentry sentry.old Installing SentryPI/open … /isys/bin InstallUniVerse … /uv/bin UniData … /udt/binSentry Main MenuGetting Started Sentry is currently being run by user n SentrySentry Main Menu You must be a super-user to use SentryIntroduction Introducing the Main Menu Introduction Page Introducing the Database Creation and Validation Menu Database Creation and Valudation Menu Fitzgerald & Long DB.LOAD Upload User and Group Profiles from UnixSENTRY.DB.LOAD Batch Phantom SENTRY.FILE.LOAD Batch Create Database from File SystemValidation Validate the User Profile DatabaseSentry User’s Guide Fitzgerald & Long Sentry User’s Guide Fitzgerald & Long Page Introducing the Database Maintenance Menu Database Maintenance Fitzgerald & Long SYSTEM.MAINT System Profile MaintenanceMaximum Command Length Maximum Startup Path Length Passwd File Order Group File OrderFitzgerald & Long Sentry User’s Guide Fitzgerald & Long CUSTOM.USER Custom User Default Maintenance SUNEnter field number, File or ESC to exit GID User MaintenanceUSER.MAINT UIDFitzgerald & Long Sentry User’s Guide SUN Enter field number, File or ESC to exit File Ownership Conflict Are you sure you want to delete the entire recordYES/NO?Jaf Enter ESC to quit Fitzgerald & Long GROUP.MAINT Group MaintenanceDo you want to update the Unix group file Y/N? File Group Conflict Sentry User’s GuideSection 2 Sentry User’s Guide FILE.MANAGER File SystemSysbckup View Group Execute XEQ View User Repaint CURSOR.MAINEnter name for cross reference FILE.MAINT Read permission w write permission x execute permission Do you want to update ALL files within this Directory also?ALL ACL.MAINTFitzgerald & Long Sentry User’s Guide Enter the user name or UID to view @ for X-ref More File Manager ViewsFILE.MANAGER Enter the group name or GID to view @ for X-ref PROC.TEST Proc Command MaintenanceCOMMAND.MAINT SENTRY.COMMAND.CONTROLUse at database prompt only No use Execute from inside a program onlyBoth use at database prompt and from within a program Unlimited useSentry User’s Guide USER.ITEM.MAINT User Item Protection MaintenanceSentry User’s GuideSection 2 Sentry User’s Guide Sentry User’s Guide Sentry User’s Guide Introducing the Reports Menu Sentry Reports MenuFitzgerald & Long System Profile Report Fitzgerald & Long Sentry User’s Guide Fitzgerald & Long Sentry User’s Guide SENTRY.USERS.REPORT User ProfilesSentry User’s Guide SENTRY.GROUPS.REPORT Groups ReportSentry User’s Guide None Account Protection ReportSENTRY.COMMANDS SENTRY.COMMANDS.REPORT Command Protection ReportThere are no prompts for this report SENTRY.VIOLATION.REPORT Access Violations ReportSentry User’s Guide Introducing the Utilities Menu Database Utilities MenuFitzgerald & Long Account Containing Protection VOC Protection SetupPuging the Violations LOG Sentry User’s Guide This is the Password Generation data entry screen Password CreationSentry User’s Guide Fitzgerald & Long REBUILD.INVERTS Rebuild Cross Reference FilesUpdate Protected Commands Page RETURN.STRING Output Sentry Internal SubroutinesSample Call @SENTRY.ENCRYPTDATA.STRING, RETURN.STRING DATA.STRING InputTHE.KEY Fudge Tastes Good ENCRYPTION.KEY InputTHE.KEY = Fudge Tastes Good Subroutine SENTRY.USER.ITEM.CONTROLITEM.FOUND Output ACCESS.RIGHTS OutputERROR.TEXT Output USER.ITEM InputAppendix 1 Comment Input Subroutine SENTRY.VIOLATION.STAMPAppendix 1 Page Sentry KEY Bindings Appendix 2 Sentry User’s Guide Appendix 2