This error message is returned by wrapper.c :
struct passwd *xgetpwuid_self(void) { struct passwd *pw; errno = 0; pw = getpwuid(getuid()); if (!pw) die(_("unable to look up current user in the passwd file: %s"), errno ? strerror(errno) : _("no such user")); return pw; }
This means that the common library getpwuid function does not find the password entry in / etc / passwd for the user account, the git process is called
This is how the nscd service did not know how to resolve some services.
Ask your administrator to double-check the folder with the account (call her $D ), as shown in this article . Especially his $D/etc folder:
cp -fv /etc/{group,prelink.cache,services,adjtime,shells,gshadow,shadow,hosts.deny,localtime,nsswitch.conf,nscd.conf,prelink.conf,protocols,hosts,passwd,ld.so.cache,ld.so.conf,resolv.conf,host.conf} $D/et
source share