version 1.224, 2004/07/28 09:40:29 |
version 1.225, 2004/08/23 14:26:38 |
|
|
#include "match.h" |
#include "match.h" |
#include "msg.h" |
#include "msg.h" |
#include "monitor_fdpass.h" |
#include "monitor_fdpass.h" |
|
#include "uidswap.h" |
|
|
#ifdef SMARTCARD |
#ifdef SMARTCARD |
#include "scard.h" |
#include "scard.h" |
|
|
* 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. |
*/ |
*/ |
seteuid(original_real_uid); |
if (original_effective_uid == 0) { |
setuid(original_real_uid); |
PRIV_START; |
|
permanently_set_uid(pw); |
|
} |
|
|
/* |
/* |
* Now that we are back to our own permissions, create ~/.ssh |
* Now that we are back to our own permissions, create ~/.ssh |