From c885a5ef8ae8ebccbbb9522c0eed08b64ec976c5 Mon Sep 17 00:00:00 2001 From: Georg Date: Fri, 24 Sep 2021 23:25:21 +0200 Subject: Adding chmod, changing timeout, removing warning Signed-off-by: Georg --- scripts/sh/deploy_directory_client.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/sh/deploy_directory_client.sh b/scripts/sh/deploy_directory_client.sh index b7b0272..7caa447 100644 --- a/scripts/sh/deploy_directory_client.sh +++ b/scripts/sh/deploy_directory_client.sh @@ -1,7 +1,6 @@ #!/bin/sh -echo "THIS SCRIPT IS NOT READY FOR USE IN PRODUCTION" -echo "YOU HAVE 15 seconds to abort with Ctrl+C." -sleep 15s +echo "You have 10 seconds to abort with Ctrl+C." +sleep 10s if [ "$(id -u)" = "0" ]; then DISTRIB=$(awk -F= '/^NAME/{print $2}' /etc/os-release) if [ "${DISTRIB}" = '"openSUSE Leap"' ] || [ "${DISTRIB}" = '"openSUSE Tumbleweed"' ]; then @@ -61,6 +60,7 @@ ldap_user_ssh_public_key = sshPublicKey sudo_provider = ldap ldap_sudo_search_base = ou=SUDOers,ou=syscid-system,dc=syscid,dc=com EOF + chmod 600 /etc/sssd/sssd.conf mv /etc/nsswitch.conf /etc/nsswitch.conf.orig cat <<'EOF' >/etc/nsswitch.conf # SYSCID Directory and Authentication Service -- cgit v1.2.3