[lkml]   [2007]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: One process with multiple user ids.

    On Oct 2 2007 12:56, Giuliano Gagliardi wrote:
    >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.

    All you need is CAP_SETUID. Also see man setresuid,
    where you could, I think, use saved_uid=0 if you do not
    like to use real_uid=0 effective_uid=non-0.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-10-02 13:27    [W:0.022 / U:49.400 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site