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

  1. Path: sparky!uunet!gumby!wmichgw!737ochs
  2. From: 737ochs@gw.wmich.edu
  3. Newsgroups: vmsnet.internals
  4. Subject: Re: Finding a users disk name
  5. Message-ID: <1992Oct7.140950.5672@gw.wmich.edu>
  6. Date: 7 Oct 92 14:09:50 EST
  7. References: <1992Oct7.031040.5662@gw.wmich.edu> <1992Oct7.084705.1063@galaxy.gov.bc.ca> <7OCT199213391031@jhuvms.hcf.jhu.edu>
  8. Organization: Western Michigan University
  9. Lines: 24
  10.  
  11. In article <7OCT199213391031@jhuvms.hcf.jhu.edu>, ecf_stbo@jhuvms.hcf.jhu.edu (Feet...!? You had FEET?) writes:
  12. > In article <1992Oct7.084705.1063@galaxy.gov.bc.ca>, EWILTS@GALAXY.GOV.BC.CA writes...
  13. >>The only place the user's default device and directory is stored is in
  14. >>SYSUAF.DAT.  Any method you choose for determining the device must have read
  15. >>access to this file.  This doesn't require "operator privileges" - READALL,
  16. >>SYSPRV, or BYPASS will suffice, or you can install the image you use to get the
  17. >>default with privilege so that the end user doesn't need them.
  18. > Actually I'm reasonably sure any user can get the information (for 
  19. > themselves) by calling $getuai. And I think what this guy was asking
  20. > for is as simple as translating the logical name SYS$LOGIN. Not really
  21. > much of an internals question.
  22.  
  23. Well, actually I don't need SYS$LOGIN, that will only get MY disk area,
  24. I'm looking for a way to say from my account cd ~joeschmo and I need the
  25. function to perform SET DEFAULT DISK$BLAH:[JOESCHMO]
  26. mainly I need to find out what disk pack the user is on, and if they are in
  27. a group, which group they are in, for example, an account might look like this
  28. DISK$CS:[CSxxx.username]
  29. I would need to be able to find the DISK$CS and the CSxxx
  30. And thanks for the replies so far, but I willnot be able to get the sys admin
  31. to install it for me to get sys privs for the program.
  32. Thanks
  33. Fred Ochs
  34.