Re: Changing uid of another process?

Zachary Amsden (amsdenz@aavid.com)
Fri, 10 Jul 1998 14:29:59 -0400


-----Original Message-----
From: bofh@diegeekdie.com <bofh@diegeekdie.com>
To: linux-kernel@vger.rutgers.edu <linux-kernel@vger.rutgers.edu>
Date: Friday, July 10, 1998 8:58 AM
Subject: Changing uid of another process?

>I've got a large server which in the middle of its processing should
>change
>uid if the client has provided a valid username/password. Since the
>server
>is quite large and the clients username/password combination is sent a
>long
>time into the session (sometimes not at all), I don't want to run the
>server
>as root for obvious reasons. This server can sometimes be used quite a
>lot
>and therefor it needs a fast way of switching uid/gids.
----
Hideous unnecessary contortions deleted

man 2 setfsuid (linux systems)
man seteuid (BSD systems)

This mailing list is about kernel developement, not application
developement. comp.unix.programmer would be a better forum

Zachary Amsden
amsden@andrew.cmu.edu

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html