home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / vms / 12751 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.7 KB

  1. Path: sparky!uunet!sun-barr!cs.utexas.edu!ut-emx!slcs.slb.com!BRYDON@linus.slcs.slb.com
  2. From: brydon@asl.slb.com (Harvey Brydon (713)274-8281)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Am I in SYLOGIN?
  5. Message-ID: <1992Jul23.132025.14097@slcs.slb.com>
  6. Date: 23 Jul 92 13:20:25 GMT
  7. References: <1992Jul22.113259.1@utxvms.cc.utexas.edu>
  8. Sender: news@slcs.slb.com (News Administrator)
  9. Reply-To: brydon@asl.slb.com
  10. Organization: Schlumberger/Anadrill Sugar Land, TX
  11. Lines: 25
  12. Nntp-Posting-Host: 129.87.14.202
  13.  
  14. In article <1992Jul22.113259.1@utxvms.cc.utexas.edu>,
  15. ccdk001@utxvms.cc.utexas.edu writes:
  16. >Anyone know of a simple, fairly fullproof way to determine if an image
  17. >is being run from SYLOGIN.COM or some other known place (step) during
  18. >process creation?
  19. >
  20. >I have an installed privileged application that I want executed during the
  21. >login process, but I don't want users to be able to execute it directly.
  22. >It does "things" based on an assumed state of that process/environment at
  23. >that time particular time.  Allowing users to change their environment
  24. >(logical names, devices, etc.) and then rerunning this image could be
  25. >a problem in some instances.
  26.  
  27. If you check whether it is running from SYLOGIN.COM or not may be an
  28. inferior test for this type of program.  What if somebody does:
  29.  
  30. $ @sys$sylogin
  31.  
  32. after they log in?  Since it is installed and privileged, I would suggest
  33. you do something privileged such as create an identifier and check for the
  34. presence of the identifier as a 'never previously executed' check.
  35. ____________________________________________________________________________
  36. Harvey Brydon         | Internet:   brydon@dsn.SINet.slb.com
  37. Dowell Schlumberger   | P.O.T.S.:   (918)250-4312
  38.       "If you don't become current, you can't be deleted"
  39.