>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