version 1.50, 2003/08/13 08:46:30 |
version 1.51, 2003/08/26 09:58:43 |
|
|
/* Verify that the user is a valid user. */ |
/* Verify that the user is a valid user. */ |
if ((authctxt->pw = PRIVSEP(getpwnamallow(user))) != NULL) |
if ((authctxt->pw = PRIVSEP(getpwnamallow(user))) != NULL) |
authctxt->valid = 1; |
authctxt->valid = 1; |
else |
else { |
debug("do_authentication: illegal user %s", user); |
debug("do_authentication: illegal user %s", user); |
|
authctxt->pw = fakepw(); |
|
} |
|
|
setproctitle("%s%s", authctxt->pw ? user : "unknown", |
setproctitle("%s%s", authctxt->pw ? user : "unknown", |
use_privsep ? " [net]" : ""); |
use_privsep ? " [net]" : ""); |