Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Enable Remote Configuration' nor 'Enable Remote Commands' from bootstrap scrip #8709

Merged
merged 2 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ public class BootstrapConfigAction extends BaseConfigAction {
public static final String SALT = "salt";

public static final String ENABLE_GPG = "gpg";
public static final String ALLOW_CONFIG_ACTIONS = "allow-config-actions";
public static final String ALLOW_REMOTE_COMMANDS = "allow-remote-commands";
public static final String HTTP_PROXY = "http-proxy";
public static final String HTTP_PROXY_USERNAME = "http-proxy-username";
public static final String HTTP_PROXY_PASSWORD = "http-proxy-password";
Expand Down Expand Up @@ -82,8 +80,6 @@ public ActionForward execute(ActionMapping mapping,
cmd.setSslPath(form.getString(SSL_CERT));
cmd.setSaltEnabled((Boolean) form.get(SALT));
cmd.setEnableGpg((Boolean) form.get(ENABLE_GPG));
cmd.setAllowConfigActions((Boolean) form.get(ALLOW_CONFIG_ACTIONS));
cmd.setAllowRemoteCommands((Boolean) form.get(ALLOW_REMOTE_COMMANDS));
cmd.setHttpProxy(form.getString(HTTP_PROXY));
cmd.setHttpProxyUsername(form.getString(HTTP_PROXY_USERNAME));
cmd.setHttpProxyPassword(form.getString(HTTP_PROXY_PASSWORD));
Expand All @@ -105,8 +101,6 @@ public ActionForward execute(ActionMapping mapping,
form.set(SSL_CERT, caCertPath);
form.set(SALT, Boolean.TRUE);
form.set(ENABLE_GPG, Boolean.TRUE);
form.set(ALLOW_CONFIG_ACTIONS, Boolean.FALSE);
form.set(ALLOW_REMOTE_COMMANDS, Boolean.FALSE);
}
return mapping.findForward(RhnHelper.DEFAULT_FORWARD);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ public void testNonSubmitExecute() {
CACertPathUtil.processCACertPath());
assertEquals(Boolean.TRUE,
form.get(BootstrapConfigAction.ENABLE_GPG));
assertEquals(Boolean.FALSE,
form.get(BootstrapConfigAction.ALLOW_CONFIG_ACTIONS));
assertEquals(Boolean.FALSE,
form.get(BootstrapConfigAction.ALLOW_REMOTE_COMMANDS));
assertEquals(Boolean.TRUE,
form.get(BootstrapConfigAction.SALT));
assertEquals("", form.getString(BootstrapConfigAction.HTTP_PROXY));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9236,20 +9236,6 @@ Please note that some manual configuration of these scripts may still be require
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-config-actions" xml:space="preserve">
<source>Enable Remote Configuration</source>
<target>দূরবর্তী কনফিগারেশন সক্রিয় করুন</target>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-remote-commands" xml:space="preserve">
<source>Enable Remote Commands</source>
<target>দূরবর্তী কমান্ড সক্রিয় করুন</target>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
</trans-unit>
<trans-unit id="bootstrap.jsp.http-proxy" xml:space="preserve">
<source>Client HTTP Proxy</source>
<target>ক্লায়েন্ট HTTP প্রক্সি</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8717,18 +8717,6 @@ Please note that some manual configuration of these scripts may still be require
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-config-actions" xml:space="preserve">
<source>Enable Remote Configuration</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-remote-commands" xml:space="preserve">
<source>Enable Remote Commands</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
</trans-unit>
<trans-unit id="bootstrap.jsp.http-proxy" xml:space="preserve">
<source>Client HTTP Proxy</source>
<context-group name="ctx">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9810,20 +9810,6 @@ Please note that some manual configuration of these scripts may still be require
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-config-actions" xml:space="preserve">
<source>Enable Remote Configuration</source>
<target/>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-remote-commands" xml:space="preserve">
<source>Enable Remote Commands</source>
<target/>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
</trans-unit>
<trans-unit id="bootstrap.jsp.http-proxy" xml:space="preserve">
<source>Client HTTP Proxy</source>
<target/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9706,20 +9706,6 @@ Bitte beachten Sie, dass möglicherweise noch einige manuelle Konfigurationen di
</context-group>
<target>Client-GPG-Überprüfung aktivieren</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-config-actions" xml:space="preserve">
<source>Enable Remote Configuration</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>Aktiviere dezentrale Konfiguration</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-remote-commands" xml:space="preserve">
<source>Enable Remote Commands</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>Dezentralen Befehl aktivieren</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.http-proxy" xml:space="preserve">
<source>Client HTTP Proxy</source>
<context-group name="ctx">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8670,18 +8670,6 @@ Please note that some manual configuration of these scripts may still be require
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-config-actions" xml:space="preserve">
<source>Enable Remote Configuration</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-remote-commands" xml:space="preserve">
<source>Enable Remote Commands</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
</trans-unit>
<trans-unit id="bootstrap.jsp.http-proxy" xml:space="preserve">
<source>Client HTTP Proxy</source>
<context-group name="ctx">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9275,20 +9275,6 @@ Tenga en cuenta que podría ser necesario configurar manualmente estos scripts.
</context-group>
<target>Activar la revisión del GPG del cliente</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-config-actions" xml:space="preserve">
<source>Enable Remote Configuration</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>Activar configuración remota</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-remote-commands" xml:space="preserve">
<source>Enable Remote Commands</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>Permitir comandos remotos</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.http-proxy" xml:space="preserve">
<source>Client HTTP Proxy</source>
<context-group name="ctx">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9705,20 +9705,6 @@ Veuillez noter qu'une configuration manuelle de ces scripts peut toujours être
</context-group>
<target>Activer la vérification GPG du client</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-config-actions" xml:space="preserve">
<source>Enable Remote Configuration</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>Activer la configuration à distance</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-remote-commands" xml:space="preserve">
<source>Enable Remote Commands</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>Activer les commandes à distance</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.http-proxy" xml:space="preserve">
<source>Client HTTP Proxy</source>
<context-group name="ctx">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9378,20 +9378,6 @@ Please note that some manual configuration of these scripts may still be require
</context-group>
<target>ક્લાઈન્ટ GPG ચકાસણી સક્રિય કરો</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-config-actions" xml:space="preserve">
<source>Enable Remote Configuration</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>દૂરસ્થ રૂપરેખાંકન સક્રિય કરો</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-remote-commands" xml:space="preserve">
<source>Enable Remote Commands</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>દૂરસ્થ આદેશો સક્રિય કરો</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.http-proxy" xml:space="preserve">
<source>Client HTTP Proxy</source>
<context-group name="ctx">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9378,20 +9378,6 @@ Please note that some manual configuration of these scripts may still be require
</context-group>
<target>क्लाइंट GPG जांच स्क्रिय करें</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-config-actions" xml:space="preserve">
<source>Enable Remote Configuration</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>दूरस्थ विन्यास सक्रिय करें</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-remote-commands" xml:space="preserve">
<source>Enable Remote Commands</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>दूरस्थ कमांड सक्रिय करें</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.http-proxy" xml:space="preserve">
<source>Client HTTP Proxy</source>
<context-group name="ctx">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9789,20 +9789,6 @@ Please note that some manual configuration of these scripts may still be require
</context-group>
<target>Abilita controllo Client GPG</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-config-actions" xml:space="preserve">
<source>Enable Remote Configuration</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>Abilita Configurazione Remota</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-remote-commands" xml:space="preserve">
<source>Enable Remote Commands</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>Abilita Comandi Remoti</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.http-proxy" xml:space="preserve">
<source>Client HTTP Proxy</source>
<context-group name="ctx">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9824,20 +9824,6 @@ Please note that some manual configuration of these scripts may still be require
</context-group>
<target>クライアント GPG チェックを有効にする</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-config-actions" xml:space="preserve">
<source>Enable Remote Configuration</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>リモート設定を有効にする</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-remote-commands" xml:space="preserve">
<source>Enable Remote Commands</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>リモートコマンドを有効にする</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.http-proxy" xml:space="preserve">
<source>Client HTTP Proxy</source>
<context-group name="ctx">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9823,20 +9823,6 @@ Please note that some manual configuration of these scripts may still be require
</context-group>
<target>클라이언트 GPG 확인 작업 활성</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-config-actions" xml:space="preserve">
<source>Enable Remote Configuration</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>원격 설정 활성</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-remote-commands" xml:space="preserve">
<source>Enable Remote Commands</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>원격 명령 활성</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.http-proxy" xml:space="preserve">
<source>Client HTTP Proxy</source>
<context-group name="ctx">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9377,20 +9377,6 @@ Please note that some manual configuration of these scripts may still be require
</context-group>
<target>ਕਲਾਂਈਟ GPG ਜਾਂਚ ਯੋਗ</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-config-actions" xml:space="preserve">
<source>Enable Remote Configuration</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>ਰਿਮੋਟ ਸੰਰਚਨਾ ਯੋਗ</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-remote-commands" xml:space="preserve">
<source>Enable Remote Commands</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>ਰਿਮੋਟ ਕਮਾਂਡਾਂ ਚਲਾਓ</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.http-proxy" xml:space="preserve">
<source>Client HTTP Proxy</source>
<context-group name="ctx">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9711,20 +9711,6 @@ Please note that some manual configuration of these scripts may still be require
</context-group>
<target>Ativar verificação GPG do Cliente</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-config-actions" xml:space="preserve">
<source>Enable Remote Configuration</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>Ativar Configuração Remota</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-remote-commands" xml:space="preserve">
<source>Enable Remote Commands</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>Ativar Comandos Remotos</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.http-proxy" xml:space="preserve">
<source>Client HTTP Proxy</source>
<context-group name="ctx">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9316,20 +9316,6 @@ Please note that some manual configuration of these scripts may still be require
</context-group>
<target>Включить проверку GPG</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-config-actions" xml:space="preserve">
<source>Enable Remote Configuration</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>Включить удаленную конфигурацию</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-remote-commands" xml:space="preserve">
<source>Enable Remote Commands</source>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
<target>Разрешить выполнение удаленных команд</target>
</trans-unit>
<trans-unit id="bootstrap.jsp.http-proxy" xml:space="preserve">
<source>Client HTTP Proxy</source>
<context-group name="ctx">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9838,20 +9838,6 @@ Please note that some manual configuration of these scripts may still be require
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-config-actions" xml:space="preserve">
<source>Enable Remote Configuration</source>
<target/>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
</trans-unit>
<trans-unit id="bootstrap.jsp.allow-remote-commands" xml:space="preserve">
<source>Enable Remote Commands</source>
<target/>
<context-group name="ctx">
<context context-type="sourcefile">/rhn/admin/config/BootstrapConfig.do</context>
</context-group>
</trans-unit>
<trans-unit id="bootstrap.jsp.http-proxy" xml:space="preserve">
<source>Client HTTP Proxy</source>
<target/>
Expand Down
Loading
Loading