public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [SOLVED] Re: [gentoo-user] msmtp vs. nullmailer
Date: Mon, 20 Jul 2015 23:24:00 +0100	[thread overview]
Message-ID: <201507202324.11348.michaelkintzios@gmail.com> (raw)
In-Reply-To: <20150720215031.GA22893@waltdnes.org>

[-- Attachment #1: Type: Text/Plain, Size: 1129 bytes --]

On Monday 20 Jul 2015 22:50:31 Walter Dnes wrote:
> On Mon, Jul 20, 2015 at 06:49:00PM +0100, Mick wrote
> 
> > This is all good and dandy, but letting user "nobody" read your
> > mail accoutn passwd may not be the safest approach to sending email
> > messages from your machine.
> 
>   I think you missed the point.  The "NOPASSWD:" option means that this
> one particular user "nobody" ***DOES NOT NEED THE ROOT PASSWORD*** to
> execute this one particular command which normally requires "root" level
> privileges.  I repeat, it has no need for the password.  

I have not missed the point you are raising.  My concern was that "nobody" is 
a user account without a login shell, to which you give access to a user file 
that has a login shell and in particular to a file that contains the email 
account passwd of that user.

Given that public servers and daemons often run as nobody:nogroup I would be 
cautious about this.  I do not have an exact script in mind which could 
potentially cause privilege escalation, but someone more skilled that I in the 
dark arts could well do.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  reply	other threads:[~2015-07-20 22:24 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-08  9:47 [gentoo-user] msmtp vs. nullmailer Marc Joliet
2015-06-08 12:24 ` Guy-Laurent Subri
2015-06-08 13:27 ` [gentoo-user] " Grant Edwards
2015-06-12  7:24   ` Marc Joliet
2015-06-12  7:34     ` Marc Joliet
2015-06-08 22:45 ` [gentoo-user] " Walter Dnes
2015-06-09  5:27   ` Mick
2015-07-20 11:21 ` [SOLVED] " Marc Joliet
2015-07-20 14:23   ` Walter Dnes
2015-07-20 17:49     ` Mick
2015-07-20 21:50       ` Walter Dnes
2015-07-20 22:24         ` Mick [this message]
2015-07-20 22:32           ` Alan McKinnon
2015-07-20 22:29         ` Alan McKinnon
2015-07-23 20:51     ` Marc Joliet

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=201507202324.11348.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox