Martin Vogt writes:
>
> Then, after authentication,
> it dup's the necessary input output streams (stdin, stderr,..)
> and starts the local CVS program under an authenticated user id.
You shouldn't need to do any dup'ing (or fork'ing either, for that
matter) -- just change user and then exec CVS (this is pretty much the
way that login works -- it does the authentication and then exec's the
shell).
> To identify users _names_ instead of the authenticated id,
> it appends (during the fork) something like this -u log_username
I assume -u will be a new global option?
> For this it is necessary to have a small patch in subr.c in
> the getcaller functions.
You don't need to change getcaller, just set CVS_Username appropriately.
> After the fork and the dup'ed streams it _should_ work
> the same as the remote access methode (currently this is unchecked,
> maybe this is wrong?)
That sounds right to me -- once you get past the authentication, all of
the server methods work exactly the same.
-Larry Jones
It's not denial. I'm just very selective about the reality I accept.
-- Calvin