diff options
author | dtucker <dtucker> | 2003-11-22 03:25:15 +0000 |
---|---|---|
committer | dtucker <dtucker> | 2003-11-22 03:25:15 +0000 |
commit | fee4cc7395563cbf23b39614897f0459bb54127c (patch) | |
tree | cef0c154a67ee6e080b02a3ece2806aba67630b3 /auth-sia.c | |
parent | 9e486b960c3cff1b897d09b4eb7c29a01198c76b (diff) | |
download | openssh-fee4cc7395563cbf23b39614897f0459bb54127c.tar.gz |
- (dtucker) [auth-sia.c configure.ac] Tru64 update from cmadams at hiwaay.net.
Use permanently_set_uid for SIA, only define DISABLE_FD_PASSING when SIA
is enabled, rely on SIA to check for locked accounts if enabled. ok djm@
Diffstat (limited to 'auth-sia.c')
-rw-r--r-- | auth-sia.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -31,6 +31,7 @@ #include "log.h" #include "servconf.h" #include "canohost.h" +#include "uidswap.h" #include <sia.h> #include <siad.h> @@ -103,8 +104,8 @@ session_setup_sia(struct passwd *pw, char *tty) sia_ses_release(&ent); - if (setreuid(geteuid(), geteuid()) < 0) - fatal("setreuid: %s", strerror(errno)); + setuid(0); + permanently_set_uid(pw); } #endif /* HAVE_OSF_SIA */ |