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