version 1.174, 2002/05/23 19:39:34 |
version 1.175, 2002/06/08 05:07:56 |
|
|
* user's home directory if it happens to be on a NFS volume where |
* user's home directory if it happens to be on a NFS volume where |
* root is mapped to nobody. |
* root is mapped to nobody. |
*/ |
*/ |
|
|
/* |
|
* Note that some legacy systems need to postpone the following call |
|
* to permanently_set_uid() until the private hostkey is destroyed |
|
* with RSA_free(). Otherwise the calling user could ptrace() the |
|
* process, read the private hostkey and impersonate the host. |
|
* OpenBSD does not allow ptracing of setuid processes. |
|
*/ |
|
permanently_set_uid(pw); |
permanently_set_uid(pw); |
|
|
/* |
/* |