home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!gumby!wmichgw!737ochs
- From: 737ochs@gw.wmich.edu
- Newsgroups: vmsnet.internals
- Subject: Re: Finding a users disk name
- Message-ID: <1992Oct7.184525.5682@gw.wmich.edu>
- Date: 7 Oct 92 18:45:25 EST
- References: <1992Oct7.031040.5662@gw.wmich.edu> <7OCT199210243904@carat.arizona.edu> <1992Oct7.122253.1068@galaxy.gov.bc.ca>
- Distribution: world,local
- Organization: Western Michigan University
- Lines: 22
-
- In article <1992Oct7.122253.1068@galaxy.gov.bc.ca>, ewilts@galaxy.gov.bc.ca (Ed Wilts) writes:
- > In article <7OCT199210243904@carat.arizona.edu>, jms@carat.arizona.edu (A virtually vegetal non-entity) writes:
- >> In article <1992Oct7.031040.5662@gw.wmich.edu>, 737ochs@gw.wmich.edu writes...
- >>>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].
- >>
- >> Do a $TRNLOG on SYS$LOGIN. If you just want the device, look at
- >> SYS$LOGIN_DEVICE.
- >
- > In Unix, cd ~user sets your default directory to that of *another* user.
- > Translating SYS$LOGIN_DEVICE only makes sense if you're looking for your own
- > device.
-
- Thank you...Almost all of the replies I had told me the same thing...to use
- sys$login and sys$login_device, which is only gonna work for my area, (if I'm
- using the program)
- I guess it's not possible without sys privs, everyone else who didn't tell me
- about sys$login has told me that it wasn't possible.
-
- Thanks anyway...
- Fred Ochs
-