Commit dc699720 authored by Vitaly Lipatov's avatar Vitaly Lipatov

tune_sssd.sh: improve distro list

parent 6fdef612
...@@ -33,7 +33,7 @@ if [ -n "$1" ] ; then ...@@ -33,7 +33,7 @@ if [ -n "$1" ] ; then
fi fi
case $(epm print info -d) in case $(epm print info -d) in
Ubuntu|Debian|AstraLinux) Ubuntu|Debian|AstraLinux*)
# Ubuntu # Ubuntu
epmi --skip-installed samba-common-bin krb5-config krb5-user ldb-tools sssd-ad sssd-tools samba bind9-host epmi --skip-installed samba-common-bin krb5-config krb5-user ldb-tools sssd-ad sssd-tools samba bind9-host
;; ;;
...@@ -41,8 +41,8 @@ case $(epm print info -d) in ...@@ -41,8 +41,8 @@ case $(epm print info -d) in
epmi --skip-installed krb5-kinit ldb-tools sssd-ad samba-common-tools samba-common-client samba-common bind-utils epmi --skip-installed krb5-kinit ldb-tools sssd-ad samba-common-tools samba-common-client samba-common bind-utils
# pam_mount task-auth-ad-sssd # pam_mount task-auth-ad-sssd
;; ;;
Fedora|RedOS|GosLinux|CentOS|RHEL) Fedora|RedOS|GosLinux|CentOS|RHEL|ROSA)
epmi --skip installed krb5-workstation ldb-tools sssd-ad samba-common-tools epmi --skip installed krb5-workstation ldb-tools sssd-ad samba-common-tools authselect
;; ;;
*) *)
fatal "Unsupported distro $(epm print info -d)" fatal "Unsupported distro $(epm print info -d)"
...@@ -200,13 +200,13 @@ case $(epm print info -d) in ...@@ -200,13 +200,13 @@ case $(epm print info -d) in
epm assure rolelst libnss-role epm assure rolelst libnss-role
roleadd etersysadmin wheel roleadd etersysadmin wheel
;; ;;
RedOS|Fedora|CentOS) Fedora|RedOS|GosLinux|CentOS|RHEL|ROSA)
# echo "Check the script for autoselect" # echo "Check the script for autoselect"
authselect select sssd --force authselect select sssd --force
authselect apply-changes authselect apply-changes
authconfig --enablemkhomedir authconfig --enablemkhomedir
;; ;;
Debian|Ubuntu|AstraLinux) Debian|Ubuntu|AstraLinux*)
pam-auth-update --package pam-auth-update --package
;; ;;
*) *)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment