Article View: vmsnet.internals
Article #314Re: Finding a users disk name
From: 737ochs
Date: Wed, 07 Oct 1992 23:45
Date: Wed, 07 Oct 1992 23:45
22 lines
1513 bytes
1513 bytes
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
Technical Details
Message-ID:
<1992Oct7.184525.5682@gw.wmich.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!gumby!wmichgw!737ochsReferences:
<1992Oct7.031040.5662@gw.wmich.edu> <7OCT199210243904@carat.arizona.edu> <1992Oct7.122253.1068@galaxy.gov.bc.ca>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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