diff options
Diffstat (limited to 'scripts/sh')
-rw-r--r-- | scripts/sh/deploy_directory_client.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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 |