From 051a05d7b2dadd2efed2cad8207b5e195f0612cb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Go=C5=82=C4=99biowski?= Date: Sun, 31 Jan 2010 16:23:45 +0000 Subject: [PATCH 1/1] - new; do not install pam.d file in vmware-config, we already did that Changed files: VMware-server-vmware-config-skip-pam.d-vmware-authd-install.patch -> 1.1 --- ...nfig-skip-pam.d-vmware-authd-install.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 VMware-server-vmware-config-skip-pam.d-vmware-authd-install.patch diff --git a/VMware-server-vmware-config-skip-pam.d-vmware-authd-install.patch b/VMware-server-vmware-config-skip-pam.d-vmware-authd-install.patch new file mode 100644 index 0000000..9f29a90 --- /dev/null +++ b/VMware-server-vmware-config-skip-pam.d-vmware-authd-install.patch @@ -0,0 +1,28 @@ +--- vmware-server-distrib/bin/vmware-config.pl~ 2010-01-31 18:08:30.000000000 +0100 ++++ vmware-server-distrib/bin/vmware-config.pl 2010-01-31 18:10:48.000000000 +0100 +@@ -8501,7 +8501,6 @@ + . '>/dev/null 2>&1'); + + configure_authd(); +- configure_wgs_pam_d(); + fix_vmlist_permissions(); + } + +@@ -8814,17 +8813,6 @@ + install_symlink($webAccessLogDir . '/work', $work_dir); + } + +-# Move the /etc/vmware/pam.d information to its real home in /etc/pam.d +-sub configure_wgs_pam_d { +- my $dir = '/etc/pam.d'; +- my $o_file = $gRegistryDir . '/pam.d/vmware-authd'; +- +- if (system(shell_string($gHelper{'cp'}) . ' -p ' . $o_file . ' ' . $dir)) { +- error('Unable to copy the VMware vmware-authd PAM file to ' . $dir +- . "\n\n"); +- } +-} +- + # both configuration. + sub show_net_config { + my $bridge_flag = shift; -- 2.44.0