home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sun / admin / 5037 < prev    next >
Encoding:
Text File  |  1992-07-28  |  1.7 KB  |  41 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!uaisun4!mrl
  3. From: mrl@uai.com (Mark R. Ludwig)
  4. Subject: Re: How does uucp status gathering work?
  5. Message-ID: <MRL.92Jul28094521@sun4.uai.com>
  6. Sender: mrl@uai.com (Mark R. Ludwig)
  7. Organization: Universal Analytics, Inc., Torrance (LA), CA
  8. References: <1992Jul10.161120.6503@mitem.com>
  9. Date: 28 Jul 92 09:45:21
  10. Lines: 29
  11.  
  12. In article <1992Jul10.161120.6503@mitem.com> unger@mitem.com (Tom Unger) writes:
  13.  
  14. |> Keywords: uucp status
  15. |> Date: 10 Jul 92 16:11:20 GMT
  16. |> Organization: MITEM Corp.
  17. |>
  18. |> My /var/spool/uucp/.Admin directory has the
  19. |> following files:
  20. |>
  21. |> -rw-r--r--  1 root            0 Jul 10 03:30 Foreign
  22. |> -rw-r--r--  1 root            0 Jul 10 03:30 audit
  23. |> -rw-r--r--  1 root            0 Jul 10 03:30 errors
  24. |> -rw-r--r--  1 root            0 Jul 10 03:30 uucleanup
  25. |> -rw-r--r--  1 root            0 Jul 10 03:30 xferstats
  26.  
  27. I ran into the same problem.  In case no one else has replied to you
  28. privately, the problem is that these files are owned by root, but the
  29. programs which would want to append to them are run under user uucp.
  30. Sun delivers the system such that it runs /etc/uucp/uudemon.cleanup
  31. under root.  I changed it to run under uucp, and now accumulate
  32. statistics correctly.  BTW, it appears that the reason they run it as
  33. root is because of the desire to remove stray mail from the spool
  34. (toward the end of the script).  It's not clear how it would ever get
  35. there, and it never can on our system because we have no users named
  36. uucpa or nuucp.$$
  37. -- 
  38. INET: mrl@uai.com      BANG: uunet!uaisun4!mrl      ICBM: USA; Lower Left Coast
  39.   You can get a crowd to clap at a phone number, if the inflection is right.
  40.   -- Dave Ross
  41.