[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Savannah-hackers] Username mismatch?
From: |
Hugo Gayosso |
Subject: |
Re: [Savannah-hackers] Username mismatch? |
Date: |
28 Dec 2003 20:54:48 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sergey Poznyakoff <address@hidden> writes:
> I hope the following information will help:
>
> 1) The reason for this behavior is that getpwuid() returns NULL (see
> cvs-1.11.5/src/subr.c, lines 368-375), i.e. /etc/passwd does not
> contain such entry.
>
> 2) If the users' information has been moved from passwd to another
> database, the cvs source provides a way to override getpwuid call
> using SYSTEM_GETCALLER macro (see subr.c:346) For example, if you add
> a function
>
> char *savannah_getpwuid();
>
> which would return the current user login name, then adding
>
> #define SYSTEM_GETCALLER() savannah_getpwuid()
>
> to config.h should do the job.
Excellent!!!, thanks, this information has been forwarded to the
sysadmins.
- --
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/74loMNObVRBZveYRAjsPAJ92z+cEc4OWy4WBIyo9HIvAIKW+1gCePd6Q
s577ZQANEvWzjIUIcGzoreE=
=/Lwm
-----END PGP SIGNATURE-----