From: Cardinal <cardinal@tv-inform.spb.ru> To: community@altlinux.ru Subject: [Comm] Скрипты из под постфикса... Date: Wed, 25 Sep 2002 12:33:07 +0400 Message-ID: <889711814.20020925123307@tv-inform.spb.ru> (raw) Hello community, Не знаю куда обратиться с данным вопросом, но все же попробую сюда. Стоит Мастер. В алиасах постфикса на получение почты одним из пользователем письмо передается перл скрипту. Но дело в том, что скрипту (так уж надо) нужно очень много прав. В частности он должен иметь права копировать чужие мэйлбоксы по сетевым ресурсам и всячески их парсить. Так вот это удается сделать только в том случае, если на скрипте стоят рутовые права, да еще и suid. При этом в скрипте невозможно выполнять ряд необходимых функций (chmod, chown, copy, unlink). Приходится всячески это дело обходить, при этом в логах самые различные сообщения. Примеры: Это использование File::Copy: Command output: Insecure dependency in open while runnin g setuid at /usr/lib/perl5/File/Copy.pm line 97. Это изменение прав: Command output: Insecure dependency in chown while run ning setuid at /etc/pl/PagerWork.pl line 190, <GEN2> line 21286. Запись на сетевой ресурс: Command output: Cannot open message for writing: No such file or directory В связи с чем вопрос: как бы мне все-таки обойти эту проблему? Я так понимаю все утыкается просто в чрут постфикса? -- Best regards, Cardinal mailto:cardinal@tv-inform.spb.ru
reply other threads:[~2002-09-25 8:33 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=889711814.20020925123307@tv-inform.spb.ru \ --to=cardinal@tv-inform.spb.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git