home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / next / sysadmin / 4369 < prev    next >
Encoding:
Text File  |  1992-07-25  |  1.9 KB  |  43 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!darwin.sura.net!wupost!eclnews!jezebel!victor
  3. From: victor@jezebel.wustl.edu (Victor Wickerhauser)
  4. Subject: Diasappearing wtmp
  5. Message-ID: <1992Jul25.173911.29664@wuecl.wustl.edu>
  6. Sender: usenet@wuecl.wustl.edu (Usenet Administrator)
  7. Nntp-Posting-Host: jezebel
  8. Organization: Washington University, St. Louis Mo.
  9. Date: Sat, 25 Jul 1992 17:39:11 GMT
  10. Lines: 31
  11.  
  12.  
  13. We have approximately 5000 accounts in a 3-level NetInfo hierarchy.  We have
  14. only a symbolic link .login file in each home directory, since the template
  15. files installed by nu contain 42kb even after Mr. Jobs' letter is deleted
  16. (=>210 MB for all our users).  The linked .login file copies the relevant
  17. dotfiles upon the first login and then removes itself, exploiting the
  18. assumption that many of the users will never log in.  Our system is new and
  19. currently used by only a few consultants; its 5000 users do not know about it
  20. yet.
  21.  
  22. One afternoon at 17:19 when I was running a background script to install
  23. these links, remove the other dotfiles and recursively change ownership on
  24. home directories, the WindowServer died with a message to /tmp/console.log.
  25. At that point the chown script started complaining "user unknown" into its
  26. logfile.  Also, mail to one of our 5000 users started bouncing, and another
  27. user was unable to log into his account .  I noticed that /etc/wtmp did not
  28. exist, so I created an empty one with `touch', after which the mail stopped
  29. bouncing and the other user could log in.  I then rebooted the mailhost, for
  30. the usual superstitious reasons.
  31.  
  32. It is natural to test wtmp with `last' if something suspicious happens, so
  33. its disappearance becomes immediately obvious.  Be warned that there are
  34. apparently some surprising side-effects.
  35.  
  36. Regards,
  37. Victor
  38.  
  39. ----
  40. Prof. M. Victor Wickerhauser (314)935-6771  <victor@jezebel.wustl.edu>
  41. Dept. of Mathematics, Washington University, St. Louis, MO  63130  USA
  42.  
  43.