search for: gepwuid

Displaying 1 result from an estimated 1 matches for "gepwuid".

Did you mean: getpwuid
2006 Sep 24
2
[Bug 1235] [PATCH] scp does unnecessary getpwuid(), breaking chroot
...cular, this creates an added dependency for running scp inside a chroot jail, since username lookups must be enabled. This means that the passwd file or the used nss libs should be present inside the jail, which might not be wanted or possible (in our case). The attached patch will simply skip the gepwuid() call when scp is called in "server mode". It has been running in our production environment for a while now. Though the patch has been created against OpenSSH 3.8 (FreeBSD 5.4), I've checked the CVS version and nothing seems to have changed that would break this patch. ------- Y...