[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SUID pop3 / imap4?

From: xystrus
Subject: Re: SUID pop3 / imap4?
Date: Thu, 4 Apr 2002 19:04:14 -0500
User-agent: Mutt/1.3.27i

On Wed, Apr 03, 2002 at 09:58:32AM -0500, Sam Roberts wrote:
> Sounds like ssh isn't starting pop3d as root, shouldn't that be the
> fix?

This can only be done if a) the pop3d binary is SUID, or b) the user ssh-es
in as root.  For a normal user, that's generally not possible.

> It needs to do a setuid() to the user's ID as well, which also can't be
> done if you don't have root privs.

If it's already running as the user, why does it need to setuid()? Actually,
IIRC, a regular user should be able to successfully call setuid() to their
own UID.  It just doesn't do anything productive.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]