home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / mail / sendmail / 3147 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.5 KB  |  47 lines

  1. Newsgroups: comp.mail.sendmail
  2. Path: sparky!uunet!mcsun!news.funet.fi!polaris!mea
  3. From: mea@polaris.utu.fi (Matti Aarnio)
  4. Subject: Re: Funny behavior when mailing to programs
  5. Message-ID: <1993Jan11.184711.1390@polaris.utu.fi>
  6. Organization: University of Turku, Computing Centre
  7. References: <1993Jan5.210513.6819@msc.cornell.edu>
  8. Date: Mon, 11 Jan 93 18:47:11 GMT
  9. Lines: 36
  10.  
  11.   There have been comments about permissions used to invoke programs,
  12. and how they are derived from various forms of aliases.
  13.  
  14. rob@lynx.msc.cornell.edu.UUCP (Rob Vaughn,302 Thurston Hall,50637,2730428) writes:
  15. >Our sendmail is set up like this:
  16. >
  17. >-rwsr-xr-x  1 root     bin        360049 Dec 11 00:12 /usr/lib/sendmail
  18. >   ^          ^^^^
  19. >Note setuid to 'root'.
  20. >
  21. >We have an alias set up as such to save mail message in a file:
  22. >
  23. >catmsgs: "|/bin/cat >> /c/src/documents/msgs"
  24. >
  25. >which had the following permissions:
  26. >
  27. >-rw-rw----  1 root   mscadm       9258 Jan  5 12:57 /c/src/documents/msgs
  28.  
  29.   I wonder, why this complex 'prog' mailer usage ?
  30. Defining alias as:
  31.     catmsgs: "/c/src/documents/msgs"
  32. there would not be any problems relating to the peculiarities of 'prog'
  33. mailer.
  34.  
  35.   If course, if you are looking for something else -- for example
  36. writing a mail-based server program, you do need more complex approaches,
  37. like  deliver.
  38.  
  39. >Thanks,
  40. >Rob
  41. >-- 
  42. >Rob Vaughn, Fugitive Systems Guy
  43. >Mat. Sci. Center Computing, Cornell University
  44. >rob@msc.cornell.edu - rob@crnlmsc2.bitnet
  45.  
  46.     /Matti Aarnio <mea@utu.fi>
  47.