On Wed, 12 Jan 2005 18:41:45 -0200
Marcus Pereira <[EMAIL PROTECTED]> wrote:
> Package: courier-mta
> Version: 0.47-3
> Severity: normal
>
> /usr/sbin/sendmail only works with the root or daemon users.
> This breaks many aplications.
>
> Seting suid solved the problem but is it this best way?
>
> example:
> # su www-data
> $ echo to: [EMAIL PROTECTED] | /usr/sbin/sendmail -oi -t
> sendmail: ERR: submitclient: EOF from submit.
> 432 Service temporarily unavailable.
> $
>
> # su daemon
> $ echo to: [EMAIL PROTECTED] | /usr/sbin/sendmail -oi -t
> $
/usr/sbin/sendmail should be suid after installation:
[EMAIL PROTECTED]:~# dpkg --contents
/var/cache/apt/archives/courier-mta_0.47-3_i386.deb | grep sendmail
-rw-r--r-- root/root 4437 2004-10-16 23:30:30
./usr/share/man/man1/sendmail.1.gz
-rwsr-xr-x root/daemon 26328 2004-10-16 23:32:09 ./usr/sbin/sendmail
lrwxrwxrwx root/root 0 2004-10-16 23:32:11
./usr/share/man/man1/rmail.1.gz -> sendmail.1.gz
lrwxrwxrwx root/root 0 2004-10-16 23:31:28 ./usr/lib/sendmail ->
../sbin/sendmail
lrwxrwxrwx root/root 0 2004-10-16 23:31:28 ./usr/sbin/rmail -> sendmail
Bye
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]