summaryrefslogtreecommitdiffstats
path: root/pki/base/kra/setup
diff options
context:
space:
mode:
authormharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2010-01-12 22:47:34 +0000
committermharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2010-01-12 22:47:34 +0000
commit7d1532ecb8310c037f54d96364dfdcd54e8e7cc0 (patch)
tree86bd1761488d7df8ea417cf15f7fb60634e82db2 /pki/base/kra/setup
parent39a606a94630a9dfa18b94dd0a19e97ddad451da (diff)
downloadpki-7d1532ecb8310c037f54d96364dfdcd54e8e7cc0.tar.gz
pki-7d1532ecb8310c037f54d96364dfdcd54e8e7cc0.tar.xz
pki-7d1532ecb8310c037f54d96364dfdcd54e8e7cc0.zip
Bugzilla Bug #475895 - Disallow creation of an initial login shell
Bugzilla Bug #512234 - Move pkiuser:pkiuser check from spec file into pkicreate . . . Bugzilla Bug #547471 - Apply PKI SELinux changes to PKI registry model Bugzilla Bug #553072 - Apply "registry" logic to pki-kra . . . Bugzilla Bug #553074 - Apply "registry" logic to pki-ocsp . . . Bugzilla Bug #553075 - Apply "registry" logic to pki-tks . . . git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@908 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/kra/setup')
-rwxr-xr-xpki/base/kra/setup/postinstall69
1 files changed, 0 insertions, 69 deletions
diff --git a/pki/base/kra/setup/postinstall b/pki/base/kra/setup/postinstall
deleted file mode 100755
index 5af06800a..000000000
--- a/pki/base/kra/setup/postinstall
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/bin/bash
-#
-# --- BEGIN COPYRIGHT BLOCK ---
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; version 2 of the License.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
-# Copyright (C) 2007 Red Hat, Inc.
-# All rights reserved.
-# --- END COPYRIGHT BLOCK ---
-#
-
-###############################################################################
-## (1) Check command line arguments to see how many were passed in. ##
-###############################################################################
-
-if [ $# -eq 4 ]
-then
- PKI_PRODUCT_NAME=$1
- PKI_SUBSYSTEM_NAME=$2
- VERSION=$3
- RELEASE=$4
-else
- echo
- echo "Usage: $0 PKI_product_name PKI_subsystem_name version release"
- echo
-
- exit 255
-fi
-
-
-###############################################################################
-## (2) Specify variables used by this script. ##
-###############################################################################
-
-PKI_INSTANCE_NAME="${PKI_PRODUCT_NAME}-${PKI_SUBSYSTEM_NAME}"
-AGENT_SECURE_PORT=10443
-EE_SECURE_PORT=10444
-ADMIN_SECURE_PORT=10445
-UNSECURE_PORT=10180
-TOMCAT_SERVER_PORT=10701
-
-
-###############################################################################
-## (3) Create the first instance of a Key Recovery Authority (KRA). ##
-## NOTE: This is also called the Data Recovery Manager (DRM). ##
-###############################################################################
-
-if [ ! -e "/var/lib/${PKI_INSTANCE_NAME}" ]
-then
- /usr/bin/pkicreate -pki_instance_root=/var/lib -pki_instance_name=${PKI_INSTANCE_NAME} -subsystem_type=${PKI_SUBSYSTEM_NAME} -agent_secure_port=${AGENT_SECURE_PORT} -ee_secure_port=${EE_SECURE_PORT} -admin_secure_port=${ADMIN_SECURE_PORT} -unsecure_port=${UNSECURE_PORT} -tomcat_server_port=${TOMCAT_SERVER_PORT} -redirect conf=/etc/${PKI_INSTANCE_NAME} -redirect logs=/var/log/${PKI_INSTANCE_NAME}
-fi
-
-
-###############################################################################
-## (4) Successfully exit from this postinstallation script. ##
-###############################################################################
-
-exit 0
-