public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* One process with multiple user ids.
@ 2007-10-02 10:56 Giuliano Gagliardi
  2007-10-02 11:23 ` Jan Engelhardt
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Giuliano Gagliardi @ 2007-10-02 10:56 UTC (permalink / raw)
  To: linux-kernel

Hello,

I have a server that has to switch to different user ids, but because it does 
other complex things, I would rather not have it run as root. I only need the 
server to be able to switch to certain pre-defined user ids.

I have seen that two possible solutions have already been suggested here on 
the LKML, but it was some years ago, and nothing like it has been 
implemented.

(1) Having supplementary user ids like there are supplementary group ids and 
system calls getuids() and setuids() that work like getgroups() and 
setgroups()

(2) Allowing processes to pass user and group ids via sockets.

Both (1) and (2) would solve my problem. Now my question is whether there are 
any fundamental flaws with (1) or (2), or whether the right way to solve my 
problem is another one.

Giuliano

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-10-08 10:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-02 10:56 One process with multiple user ids Giuliano Gagliardi
2007-10-02 11:23 ` Jan Engelhardt
     [not found]   ` <200710021333.05826.gogi-k@gogi.tv>
2007-10-02 11:34     ` Jan Engelhardt
2007-10-02 11:39       ` Giuliano Gagliardi
2007-10-02 11:52         ` Jan Engelhardt
2007-10-02 11:34   ` Giuliano Gagliardi
2007-10-02 13:23     ` Mark Lord
2007-10-08 10:15     ` Helge Hafting
2007-10-02 17:11 ` Chris Snook
2007-10-02 22:23 ` David Newall
2007-10-02 22:38 ` Bill Davidsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox