home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Bug_Fixes / Net.v7bugs / 0103 < prev    next >
Encoding:
Text File  |  1982-05-04  |  554 b   |  13 lines

  1. Autzoo.1632
  2. net.bugs.v7
  3. utzoo!henry
  4. Tue May  4 20:47:19 1982
  5. pwd vs permissions
  6. There are several setuid programs, notably uux, which invoke pwd and
  7. expect to get coherent results.  This doesn't work too well if the
  8. current directory, or a parent, is off-limits to anyone but the owner.
  9. There are two possible fixes.  One is to run down such programs and
  10. fiddle them in some manner to reset the uid before invoking pwd (this
  11. is awkward when pwd is being invoked using system()).  The alternative,
  12. which I've done here, is to simply make pwd setuid-root.
  13.