smail 2.5 bug
Lenny Tropiano
lenny at icus.islp.ny.us
Sun Oct 9 15:06:10 AEST 1988
In article <2800011 at kailand> pwolfe at kailand.KAI.COM writes:
|>
|>oops.
|>
|>When I upgraded from smail v2.3 to v2.5, I must have accidentally munged the
|>permissions on the logfile (/usr/spool/uucp/mail.log). Apparently, that file
|>needs to be world writable for outgoing mail to be logged. Everything works
|>now.
|>
|>Patrick Wolfe
|>Patrick.Wolfe at kailand.kai.com -or- kailand!Patrick.Wolfe
It doesn't have to be world writable. In fact if it was, anyone could
just clear it out (what good would logging messages do then). I would
make the file owned by group "mail" (or some equivalent), and make smail/rmail
run as a setgid program to mail.
# chown mail /usr/spool/uucp/mail.log /bin/smail
# chmod 660 /usr/spool/uucp/mail.log
# chmod 2711 /bin/smail
This is much more secure.
-Lenny
--
Lenny Tropiano ICUS Software Systems [work] +1 (516) 582-5525
lenny at icus.islp.ny.us Telex; 154232428 ICUS [home] +1 (516) 968-8576
{talcott,boulder,hombre,pacbell,sbcs}!icus!lenny attmail!icus!lenny
ICUS Software Systems -- PO Box 1; Islip Terrace, NY 11752
More information about the Comp.sources.bugs
mailing list