home *** CD-ROM | disk | FTP | other *** search
- 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
- From: REGI's <NUNEZ@esevvx.cica.es>
- Newsgroups: vmsnet.internals
- Subject: (None)
- Message-ID: <01GPZDUJW1NK0001ZZ@esevvx.cica.es>
- Date: Thu, 15 Oct 1992 15:32:00 UTC+0100
- Organization: Macro32<==>Vmsnet.Internals Gateway
- X-Gateway-Source-Info: Mailing List
- Lines: 74
-
- >X-Envelope-to: macro32@WKUVX1.bitnet
- >X-VMS-To: IN::"macro32@WKUVX1.BITNET"
-
- 1
- 14-OCT-1992 00:52:28.10
- 1 00:00:00.00
- 15-OCT-1992 00:52:28.10
- @UKCC.uky.edu:MacroMan@WKUVX1.BITNET
- gutier@SEVAXU.CICA.ES
-
- Received: from UKCC.uky.edu by ESEVVX.CICA.ES ; 11-OCT-1992 00:52:26.18
- Received: from ukcc.uky.edu by UKCC.uky.edu (IBM VM SMTP V2R2)
- with BSMTP id 9456; Sat, 10 Oct 92 19:51:20 EDT
- Received: from WKUVX1.BITNET by ukcc.uky.edu (Mailer R2.08) with BSMTP id 2646;
- Sat, 10 Oct 92 19:51:18 EDT
- Errors-To: MacroMan@WKUVX1.BITNET
- X-ListName: "VMS Internals, MACRO, and BLISS Discussions"
- <MACRO32@WKUVX1.BITNET>
- Received: from UGA.CC.UGA.EDU (MAILER) by WKUVX1 (MX V3.1C) with BSMTP; Sat, 10
- Oct 1992 18:10:31 CDT
- Received: from UGA by UGA.CC.UGA.EDU (Mailer R2.08 PTF008) with BSMTP id 0858;
- Sat, 10 Oct 92 12:20:59 EDT
- Received: from inet-gw-2.pa.dec.com by uga.cc.uga.edu (IBM VM SMTP V2R2) with
- TCP; Sat, 10 Oct 92 12:20:58 EDT
- Received: by inet-gw-2.pa.dec.com; id AA08079; Sat, 10 Oct 92 09:21:52 -0700
- Received: by vbormc.vbo.dec.com; id AA20380; Sat, 10 Oct 92 17:17:00 +0100
- Message-ID: <9210101617.AA20380@vbormc.vbo.dec.com>
- Received: from taveng.enet; by vbormc.enet; Sat, 10 Oct 92 17:17:06 MET
- Date: Sat, 10 Oct 92 17:17:06 MET
- X-MX-Warning: Warning -- Invalid "From" header.
- From: Yaacov Fenster @ISO 882-3153 10-Oct-1992 1818
- <fenster@taveng.enet.dec.com>
- Reply-To: MACRO32@WKUVX1.BITNET
- To: macro32@WKUVX1.BITNET
- CC: fenster@taveng.enet.dec.com
- Apparently-To: macro32@wkuvx1.bitnet
- Subject: Re: Finding a users disk name
-
- > From: VBORMC::"MACRO32@WKUVX1.BITNET" "MAIL-11 Daemon" 9-OCT-1992 21:11:38.53
- > To: MACRO32@WKUVX1.BITNET
- > CC:
- > Subj: Re: Finding a users disk name
- >
- > > Hello, I'm helping a friend of mine write a program that kinda simulates
- > > a unix-type operating system. What we are having trouble with is the
- > > cd ~user command. We don't know how to get the person's disk area name
- > > from their username. We'd like to be able to do cd ~user and have the
- > > program give us back disk$xxx:[user]. Is there an easy way to do this,
- > > and a way to do it without having operator privileges. Oh, we are using
- > > VMS version 5.5
- >
- > What we do here for nonpriv access to low-level SYSUAF info is use the
- > LIST command from AUTHORIZE to gererate a file with basic info, and then
- > place it in a world readable spot with appropriate access privs so that
- > anyone can use it. A simple SEARCH on this file will return not only
-
- How about this idea:
- Use SYS$GETUAI to get the (up to date !!) information from the sysuaf.
- Install the program using SYSPRV privileges (for access to all users) or GRPPRV
- (for access to group only).
- The items you need are UAI$_DEFDEV & UAI$_DEFDIR.
- This has the added advantage of not breaking even if the LIST command from
- AUTHORIZE changes
- it's format. And imagine new information being added to the database which is
- output using the LIST command -
- which means that IT WILL CHANGE.
-
- Yaacov
- -------------------------------------------------
- Yaacov Fenster +(972)-3-9307239
- y.fenster@ieee.org
- fenster@taveng.enet.dec.com DTN 882-3153
- All the opinions voiced are mine alone and do not reflect anyone else's
- opinion. (Including Dec).
-