home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / aix / 8292 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.5 KB  |  34 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!gumby!yale!mintaka.lcs.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!lwvanels
  3. From: lwvanels@athena.mit.edu (Lucien W. Van Elsen)
  4. Subject: Re: problem with putuserpw subroutine
  5. In-Reply-To: julie@levell.austin.ibm.com's message of 28 Jul 92 16:37:37 GMT
  6. Message-ID: <LWVANELS.92Jul29084952@fionavar.mit.edu>
  7. Sender: news@athena.mit.edu (News system)
  8. Nntp-Posting-Host: fionavar.mit.edu
  9. Reply-To: lwvanels@MIT.EDU
  10. Organization: Massachusetts Institute of Technology
  11. References: <1992Jul23.225734.9999@slate.mines.colorado.edu>
  12.     <1992Jul28.163737.29750@awdprime.austin.ibm.com>
  13. Date: Wed, 29 Jul 1992 12:50:00 GMT
  14. Lines: 18
  15.  
  16. julie@levell.austin.ibm.com (Julie L. Craft) writes:
  17.  
  18. > No, you need to set up the "database" to be able to 
  19. > READ and WRITE to it.  By default, if you don't call setpwdb,
  20. > then you get READ access.
  21.  
  22. That statement isn't quite right- If the pwdb isn't currently open,
  23. putuserpw _will_ do the right thing and open it with read-write access; no
  24. call to setpwdb is necessary.  The problem is that if the pwdb is open with
  25. read-only access (as getuserpw leaves it), putuserpw will not try to upgrade
  26. the access to read-write, and subsequently fail.  This should either be
  27. fixed, or it should be documented.
  28.  
  29.         -Lucien
  30.  
  31. ----------------------------------------------------------------------------
  32. Lucien Van Elsen               | lwvanels@athena.mit.edu
  33. MIT Athena Systems Development |
  34.