Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 1999 13:14:36 +0600
From:      Anton Voronin <anton@urc.ac.ru>
To:        stable@freebsd.org
Subject:   mail.local setuid
Message-ID:  <37DF475C.1682F7A3@urc.ac.ru>

next in thread | raw e-mail | index | archive | help
Hi all,

does anyone have an idea why /usr/libexec/mail.local is made setuid? It is now
impossible to control mailbox quotas because it is always run as root. It is
possible to invoke it as root using 'o' flag in mailer definition, if it is so
needed. I removed setuid bit from it and setreuid() calls from the source, and
set 'o' flag in sendmail configuration - it works fine now and doesn't ignore
disk quotas.

--
Anton Voronin                | Ural Regional Center of FREEnet,
anton@urc.ac.ru              | Southern Ural University, Chelyabinsk, Russia
http://www.urc.ac.ru/~anton  | Programmer & System Administrator





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37DF475C.1682F7A3>