version 1.16, 2001/02/12 16:16:23 |
version 1.17, 2001/02/13 22:49:40 |
|
|
authctxt->user = user; |
authctxt->user = user; |
authctxt->style = style; |
authctxt->style = style; |
|
|
setproctitle("%s", user); |
|
|
|
/* Verify that the user is a valid user. */ |
/* Verify that the user is a valid user. */ |
pw = getpwnam(user); |
pw = getpwnam(user); |
if (pw && allowed_user(pw)) { |
if (pw && allowed_user(pw)) { |
|
|
pw = NULL; |
pw = NULL; |
} |
} |
authctxt->pw = pw; |
authctxt->pw = pw; |
|
|
|
setproctitle("%s", pw ? user : "unknown"); |
|
|
/* |
/* |
* If we are not running as root, the user must have the same uid as |
* If we are not running as root, the user must have the same uid as |