summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2001-09-19 21:51:41 +0000
committerivan <ivan>2001-09-19 21:51:41 +0000
commita2952a41f31a392ce356a299f7edf03b265ddabf (patch)
tree0a2b1bbae986e99d81c75420f69ae20c2df4cc30 /FS
parent310a027b9b72cf7d98c7f3e05b3bd1164077f2ab (diff)
set real uid too. whew. ssh now working.
Diffstat (limited to 'FS')
-rw-r--r--FS/bin/freeside-queued1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/bin/freeside-queued b/FS/bin/freeside-queued
index 04101bbc2..42d638f4c 100644
--- a/FS/bin/freeside-queued
+++ b/FS/bin/freeside-queued
@@ -30,6 +30,7 @@ $SIG{INT} = sub { warn "SIGINT received; shutting down\n"; $sigint++; };
$SIG{TERM} = sub { warn "SIGTERM received; shutting down\n"; $sigterm++; };
$> = $FS::UID::freeside_uid unless $>;
+$< = $>;
$ENV{HOME} = (getpwuid($>))[7]; #for ssh
adminsuidsetup $user;