home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / vms / 17997 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  1.9 KB

  1. Path: sparky!uunet!know!cass.ma02.bull.com!think.com!rpi!usc!elroy.jpl.nasa.gov!ames!news.hawaii.edu!pulua!helen
  2. From: helen@pulua.hcc.hawaii.edu (Helen Rapozo)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Problem Deleting Users from Different Disks
  5. Message-ID: <1992Nov15.195633.9083@news.Hawaii.Edu>
  6. Date: 15 Nov 92 19:56:33 GMT
  7. References: <01GQZRJYX7YA8WYHCU@LAGUNA.EPCC.EDU>
  8. Sender: root@news.Hawaii.Edu (News Service)
  9. Organization: Honolulu Community College
  10. Lines: 31
  11. Nntp-Posting-Host: pulua.hcc.hawaii.edu
  12.  
  13. In article <01GQZRJYX7YA8WYHCU@LAGUNA.EPCC.EDU> ARTG@LAGUNA.EPCC.EDU writes:
  14. >
  15. >Background:  We have two DEC VAX 4200's clustered together
  16. >             running VMS 5.4-2.
  17. >
  18. >I have a problem and I can't seem to find the answer.  We have 
  19. >users on several disks and I am writing a procedure to delete
  20. >them when their accounts are no longer needed on our system.  
  21. >However, I can't seem to find a way to determine if the user
  22. >is on DISK2, DISK3, or DISK4.  Is that any way of using one DCL
  23. >procedure to determine which disk the user is on?  I'd also like to have
  24. >this procedure delete that user from the appropriate disk.
  25. >I really don't want to have 3 seperate delete procedures, one for 
  26. >each of the disks.
  27. **************
  28. If you are using the AUTHORIZE utility to remove the user, you can
  29. also use it find their login directory.
  30.  
  31. To do this use the 'LIST/FULL username' in the AUTHORIZE utility, 
  32. this will create a file SYSUAF.LIS in the current directory you
  33. are working in.  If you use DCL to open and then read the SYSUAF.LIS
  34. you should come across the login directory spec (with device), you
  35. might need some DCL lexicals like extract to this since there
  36. is another piece of information that goes with the line.
  37.  
  38.  
  39.  
  40. Honolulu Community College            cs_rapozo@hccadb.hcc.hawaii.edu
  41. 874 Dillingham Blvd.                  helen@pulua.hcc.hawaii.edu
  42. Honolulu, HI 96817                    rapozo@uhunix.uhcc.hawaii.edu
  43. Ph#: (808) 845-9202
  44.