[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c
From: |
Neil W Rickert |
Subject: |
Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c |
Date: |
Wed, 18 May 2005 00:22:31 -0500 |
Ken Hornstein <address@hidden> wrote on May 16, 2005:
>(AFAIK sendmail and friends always run stuff under the user's real and
>effective uid, so I don't think slocal should ever be setuid).
If you run "slocal" from ".forward", then it runs as the recipient
(the person using ".forward"). But there are advantages to running
slocal as a mailer defined in sendmail.cf
Current sendmail allows you to run as the recipient, even when
defined as a mailer. However there was a time when sendmail would
run a mailer as either the sender uid or daemon, but would not run as
the recipient uid. You could set sendmail to run it with sendmail's
permissions, which in effect made slocal setuid root for that
invocation.
We must also remember that there are other MTAs than sendmail.
-NWR
- Re: [Nmh-workers] Questionable code - the bigger picture, (continued)
- [Nmh-workers] Re: Questionable code - the bigger picture, Bill Wohler, 2005/05/20
- Re: [Nmh-workers] Questionable code - the bigger picture, Jeffrey C Honig, 2005/05/20
- Re: [Nmh-workers] Questionable code - the bigger picture, Ken Hornstein, 2005/05/20
- Re: [Nmh-workers] Questionable code - the bigger picture, Chris Garrigues, 2005/05/20
- Re: [Nmh-workers] Questionable code - the bigger picture, Valdis . Kletnieks, 2005/05/20
- Re: [Nmh-workers] Questionable code - the bigger picture, Jeffrey C Honig, 2005/05/20
- [Nmh-workers] Re: Questionable code - the bigger picture, Will Partain, 2005/05/22
- Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c, Ken Hornstein, 2005/05/17
- Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c,
Neil W Rickert <=
- Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c, Ken Hornstein, 2005/05/18
- Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c, Mike O'Dell, 2005/05/18
- Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c, Neil W Rickert, 2005/05/18