summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-09-15 11:42:12 -0400
committerDave Brolley <brolley@redhat.com>2009-09-15 11:42:12 -0400
commit8150f846586bb04d05f51e4f17e86c00347cb7b6 (patch)
treeb0bbc2162afeceb9e508bf6cb38fc72685fa690d
parent7f925ed90dcf39d60213a5120a20d2ea08b2f2ea (diff)
downloadsystemtap-steved-8150f846586bb04d05f51e4f17e86c00347cb7b6.tar.gz
systemtap-steved-8150f846586bb04d05f51e4f17e86c00347cb7b6.tar.xz
systemtap-steved-8150f846586bb04d05f51e4f17e86c00347cb7b6.zip
Remove automatic authorization of servers started by root as trusted signers.
-rwxr-xr-xstap-serverd5
1 files changed, 0 insertions, 5 deletions
diff --git a/stap-serverd b/stap-serverd
index 5b05a819..4eee8c38 100755
--- a/stap-serverd
+++ b/stap-serverd
@@ -56,11 +56,6 @@ function initialization {
-x `which ${stap_exec_prefix}stap-client`; then
${stap_exec_prefix}stap-authorize-server-cert $ssl_db/$stap_certfile
fi
- # If we are root, then add the server's certificate as a trusted
- # signer.
- if test $EUID = 0; then
- ${stap_exec_prefix}stap-authorize-signing-cert $ssl_db/$stap_certfile
- fi
elif ! test -f $stap_ssl_db/client/cert8.db; then
# If the client's database does not exist, then initialize it with our certificate.
# Do this only if the client has been installed.