如果在 LDAP 中定义,则使用 shell,否则默认

Dan*_*les 0 linux shell ldap sssd

/etc/sssd/sssd.conf如果变量未在 LDAP 中定义,应如何将文件配置为使用 LDAP 中定义的外壳程序和默认外壳程序?

HBr*_*ijn 6

这就是sssd.conf配置文件中default_shell指令的确切用途

default_shell /bin/bash

      The default shell to use if the provider does not return one
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      during lookup. This option supersedes any other shell option
Run Code Online (Sandbox Code Playgroud)