John Bennett wrote:
Trying to setup a couple of scripts, which part of the results are to send an email as a non-root user. Have setup postfix, and as root (sudo sendmail.....) can send a basic email through my ISPs mail server successfully.
If I try and send as a non-root user, get: "Absolute path to 'sendmail' is '/usr/sbin/sendmail', so running it may require superuser privileges (eg. root)." How can I (safely and securely, without opening up anything undesirable), set this up so a standard user can send? Thanks.
---- A standard user doesn't usually invoke sendmail directly. They go through an email client like 'mailx' or a GUI like thunderbird or such. That said, a normal user "can" run sendmail to send a message without special privs -- but it isn't designed to be user friendly (no prompts). They'd have to put /usr/sbin in their path, or you could put a link for sendmail in /usr/bin -> /usr/sbin/sendmal... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org