home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #23 / NN_1992_23.iso / spool / vmsnet / internal / 1455 < prev    next >
Encoding:
Internet Message Format  |  1992-10-15  |  3.6 KB

  1. Path: sparky!uunet!stanford.edu!agate!usenet.ins.cwru.edu!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!usc!news.service.uci.edu!unogate!mvb.saic.com!macro32
  2. From: REGI's <NUNEZ@esevvx.cica.es>
  3. Newsgroups: vmsnet.internals
  4. Subject: (None)
  5. Message-ID: <01GPZDUJW1NK0001ZZ@esevvx.cica.es>
  6. Date: Thu, 15 Oct 1992 15:32:00 UTC+0100
  7. Organization: Macro32<==>Vmsnet.Internals Gateway
  8. X-Gateway-Source-Info: Mailing List
  9. Lines: 74
  10.  
  11. >X-Envelope-to: macro32@WKUVX1.bitnet
  12. >X-VMS-To: IN::"macro32@WKUVX1.BITNET"
  13.  
  14. 1
  15. 14-OCT-1992 00:52:28.10
  16.    1 00:00:00.00
  17. 15-OCT-1992 00:52:28.10
  18. @UKCC.uky.edu:MacroMan@WKUVX1.BITNET
  19. gutier@SEVAXU.CICA.ES
  20.  
  21. Received: from UKCC.uky.edu by ESEVVX.CICA.ES ; 11-OCT-1992 00:52:26.18
  22. Received: from ukcc.uky.edu by UKCC.uky.edu (IBM VM SMTP V2R2)
  23.    with BSMTP id 9456; Sat, 10 Oct 92 19:51:20 EDT
  24. Received: from WKUVX1.BITNET by ukcc.uky.edu (Mailer R2.08) with BSMTP id 2646;
  25.  Sat, 10 Oct 92 19:51:18 EDT
  26. Errors-To: MacroMan@WKUVX1.BITNET
  27. X-ListName: "VMS Internals, MACRO, and BLISS Discussions"
  28.     <MACRO32@WKUVX1.BITNET>
  29. Received: from UGA.CC.UGA.EDU (MAILER) by WKUVX1 (MX V3.1C) with BSMTP; Sat, 10
  30.           Oct 1992 18:10:31 CDT
  31. Received: from UGA by UGA.CC.UGA.EDU (Mailer R2.08 PTF008) with BSMTP id 0858;
  32.           Sat, 10 Oct 92 12:20:59 EDT
  33. Received: from inet-gw-2.pa.dec.com by uga.cc.uga.edu (IBM VM SMTP V2R2) with
  34.           TCP; Sat, 10 Oct 92 12:20:58 EDT
  35. Received: by inet-gw-2.pa.dec.com; id AA08079; Sat, 10 Oct 92 09:21:52 -0700
  36. Received: by vbormc.vbo.dec.com; id AA20380; Sat, 10 Oct 92 17:17:00 +0100
  37. Message-ID: <9210101617.AA20380@vbormc.vbo.dec.com>
  38. Received: from taveng.enet; by vbormc.enet; Sat, 10 Oct 92 17:17:06 MET
  39. Date: Sat, 10 Oct 92 17:17:06 MET
  40. X-MX-Warning:   Warning -- Invalid "From" header.
  41. From: Yaacov Fenster @ISO 882-3153  10-Oct-1992 1818
  42.       <fenster@taveng.enet.dec.com>
  43. Reply-To: MACRO32@WKUVX1.BITNET
  44. To: macro32@WKUVX1.BITNET
  45. CC: fenster@taveng.enet.dec.com
  46. Apparently-To: macro32@wkuvx1.bitnet
  47. Subject: Re: Finding a users disk name
  48.  
  49. > From: VBORMC::"MACRO32@WKUVX1.BITNET" "MAIL-11 Daemon"  9-OCT-1992 21:11:38.53
  50. > To:   MACRO32@WKUVX1.BITNET
  51. > CC:
  52. > Subj: Re: Finding a users disk name
  53. >
  54. > > Hello, I'm helping a friend of mine write a program that kinda simulates
  55. > > a unix-type operating system. What we are having trouble with is the
  56. > > cd ~user  command. We don't know how to get the person's disk area name
  57. > > from their username. We'd like to be able to do cd ~user and have the
  58. > > program give us back disk$xxx:[user]. Is there an easy way to do this,
  59. > > and a way to do it without having operator privileges. Oh, we are using
  60. > > VMS version 5.5
  61. >
  62. > What we do here for nonpriv access to low-level SYSUAF info is use the
  63. > LIST command from AUTHORIZE to gererate a file with basic info, and then
  64. > place it in a world readable spot with appropriate access privs so that
  65. > anyone can use it.  A simple SEARCH on this file will return not only
  66.  
  67. How about this idea:
  68. Use SYS$GETUAI to get the (up to date !!) information from the sysuaf.
  69. Install the program using SYSPRV privileges (for access to all users) or GRPPRV
  70. (for access to group only).
  71. The items you need are UAI$_DEFDEV & UAI$_DEFDIR.
  72. This has the added advantage of not breaking even if the LIST command from
  73.  AUTHORIZE changes
  74. it's format. And imagine new information being added to the database which is
  75.  output using the LIST command -
  76. which means that IT WILL CHANGE.
  77.  
  78.         Yaacov
  79. -------------------------------------------------
  80. Yaacov Fenster                  +(972)-3-9307239
  81. y.fenster@ieee.org
  82. fenster@taveng.enet.dec.com     DTN 882-3153
  83. All the opinions voiced are mine alone and do not reflect anyone else's
  84. opinion. (Including Dec).
  85.