home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!ogicse!das-news.harvard.edu!spdcc!jti.com!richb
- From: richb@jti.com (Richard Braun)
- Newsgroups: comp.os.linux
- Subject: Re: known problem with email...buy why?
- Message-ID: <C0EEro.6vt@jti.com>
- Date: 5 Jan 93 20:40:35 GMT
- Article-I.D.: jti.C0EEro.6vt
- References: <1992Dec31.191131.25534@sol.UVic.CA> <mw7NwB2w165w@kf8nh.wariat.org>
- Sender: news@jti.com (News Admin)
- Organization: Jupiter Technology Inc. / Waltham, MA
- Lines: 19
- Nntp-Posting-Host: bart.jti.com
-
- Problem: mail file ownership isn't right
-
- Solution: set mail files to correct owner, mode 600, group mail
-
- Implementation: Using the source code from mailpak-1.3, modify mail
- so it contains a seteuid call just after startup. This call
- should switch from root to that of the person running it.
- Then in the send.c module, switch back to root when writing
- the /usr/spool/mail file. After writing the file, chown,
- chgrp, and chmod it. There are two places you have to do this.
-
- Installation: chown root /bin/mail
- chmod u+s /bin/mail
-
- This is how the mailers I've seen on SysV, AIX and SCO systems work.
- If there's any demand for my mods, as suggested in another posting I
- will make them available to the mailpak maintainer.
-
- -rich
-