unix-linux:debian:bookworm:join-debian-linux-12-bookworm-to-active-directory-domain-with-sssd-realmd-with-ad-security-group-authorization-in-pam-for-console-login-and-ssh-sso-putty-kerberos-auth
Различия
Показаны различия между двумя версиями страницы.
Предыдущая версия справа и слеваПредыдущая версияСледующая версия | Предыдущая версия | ||
unix-linux:debian:bookworm:join-debian-linux-12-bookworm-to-active-directory-domain-with-sssd-realmd-with-ad-security-group-authorization-in-pam-for-console-login-and-ssh-sso-putty-kerberos-auth [03.08.2023 12:12] – Алексей Максимов | unix-linux:debian:bookworm:join-debian-linux-12-bookworm-to-active-directory-domain-with-sssd-realmd-with-ad-security-group-authorization-in-pam-for-console-login-and-ssh-sso-putty-kerberos-auth [24.07.2024 17:06] (текущий) – Алексей Максимов | ||
---|---|---|---|
Строка 137: | Строка 137: | ||
config_file_version = 2 | config_file_version = 2 | ||
#services = nss, pam | #services = nss, pam | ||
+ | implicit_pac_responder = false | ||
default_domain_suffix = sub.holding.com | default_domain_suffix = sub.holding.com | ||
Строка 255: | Строка 256: | ||
< | < | ||
+ | |||
+ | \\ | ||
+ | ==== PAM и комбинирование доступа для групп и пользователей ===== | ||
+ | |||
+ | В двух выше обозначенных примерах мы используем файл ''/ | ||
+ | |||
+ | <file bash sshd>... | ||
+ | # Restricted access to service from local and domain groups | ||
+ | account sufficient pam_listfile.so onerr=fail item=user sense=allow file=/ | ||
+ | account required pam_listfile.so onerr=fail item=group sense=allow file=/ | ||
+ | ...</ | ||
+ | |||
+ | Файл ''/ | ||
+ | |||
+ | <file text access-users-to-login> | ||
+ | vasya@sub.holding.com</ | ||
+ | |||
+ | И не забываем про ограничение доступа к файлу: | ||
+ | |||
+ | < | ||
+ | # chmod 600 / | ||
Строка 301: | Строка 323: | ||
< | < | ||
+ | В некоторых ситуациях при вызове **sudo** в контексте доменного пользователя может возникать длительная задержка при первом запросе на ввод пароля. В этом случае можно попробовать воспользоваться включением опции [[https:// | ||
\\ | \\ |
unix-linux/debian/bookworm/join-debian-linux-12-bookworm-to-active-directory-domain-with-sssd-realmd-with-ad-security-group-authorization-in-pam-for-console-login-and-ssh-sso-putty-kerberos-auth.1691053948.txt.gz · Последнее изменение: — Алексей Максимов