From 7e91c35385c5b06bdf203219d2f4dbe5a2c800ac Mon Sep 17 00:00:00 2001 From: Rainer Koenig Date: Fri, 7 Feb 2025 13:02:39 +0100 Subject: [PATCH] Remove files with root password in plaintext - Previous agama versions were not able to handle hashed passowrd, but this is fixed now, so no need to keep the old files with passwords in plain text --- .../default_no_scc_plain_password.jsonnet | 13 --------- .../auto/leap_default_plain_password.jsonnet | 13 --------- .../auto/leap_gnome_plain_password.jsonnet | 18 ------------ .../sle_multipath_scc_plain_password.jsonnet | 28 ------------------- 4 files changed, 72 deletions(-) delete mode 100644 data/yam/agama/auto/default_no_scc_plain_password.jsonnet delete mode 100644 data/yam/agama/auto/leap_default_plain_password.jsonnet delete mode 100644 data/yam/agama/auto/leap_gnome_plain_password.jsonnet delete mode 100644 data/yam/agama/auto/sle_multipath_scc_plain_password.jsonnet diff --git a/data/yam/agama/auto/default_no_scc_plain_password.jsonnet b/data/yam/agama/auto/default_no_scc_plain_password.jsonnet deleted file mode 100644 index cd9c0ccc426f..000000000000 --- a/data/yam/agama/auto/default_no_scc_plain_password.jsonnet +++ /dev/null @@ -1,13 +0,0 @@ -{ - product: { - id: '{{AGAMA_PRODUCT_ID}}' - }, - user: { - fullName: 'Bernhard M. Wiedemann', - password: 'nots3cr3t', - userName: 'bernhard' - }, - root: { - password: 'nots3cr3t' - } -} diff --git a/data/yam/agama/auto/leap_default_plain_password.jsonnet b/data/yam/agama/auto/leap_default_plain_password.jsonnet deleted file mode 100644 index cd9c0ccc426f..000000000000 --- a/data/yam/agama/auto/leap_default_plain_password.jsonnet +++ /dev/null @@ -1,13 +0,0 @@ -{ - product: { - id: '{{AGAMA_PRODUCT_ID}}' - }, - user: { - fullName: 'Bernhard M. Wiedemann', - password: 'nots3cr3t', - userName: 'bernhard' - }, - root: { - password: 'nots3cr3t' - } -} diff --git a/data/yam/agama/auto/leap_gnome_plain_password.jsonnet b/data/yam/agama/auto/leap_gnome_plain_password.jsonnet deleted file mode 100644 index 2abc2d2a4fac..000000000000 --- a/data/yam/agama/auto/leap_gnome_plain_password.jsonnet +++ /dev/null @@ -1,18 +0,0 @@ -{ - product: { - id: '{{AGAMA_PRODUCT_ID}}' - }, - software: { - patterns: [ - 'gnome' - ] - }, - user: { - fullName: 'Bernhard M. Wiedemann', - password: 'nots3cr3t', - userName: 'bernhard' - }, - root: { - password: 'nots3cr3t' - } -} diff --git a/data/yam/agama/auto/sle_multipath_scc_plain_password.jsonnet b/data/yam/agama/auto/sle_multipath_scc_plain_password.jsonnet deleted file mode 100644 index 1147fc52cede..000000000000 --- a/data/yam/agama/auto/sle_multipath_scc_plain_password.jsonnet +++ /dev/null @@ -1,28 +0,0 @@ -{ - product: { - id: '{{AGAMA_PRODUCT_ID}}' - }, - user: { - fullName: 'Bernhard M. Wiedemann', - password: 'nots3cr3t', - userName: 'bernhard' - }, - root: { - password: 'nots3cr3t' - }, - scripts: { - pre: [ - { - name: 'activate multipath', - body: ||| - #!/bin/bash - if ! systemctl status multpathd ; then - echo 'Activating multipath' - systemctl start multipathd.socket - systemctl start multipathd - fi - ||| - } - ] - } -}