Isilon:无法在 SSH 中使用 Tab 键自动完成 AD 用户到没有默认主目录的群集
Summary: 使用 Active Directory 凭据登录但未创建主目录的系统管理员可能会遇到按下“tab”按钮时命令未自动完成的问题。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
AD 用户通过 SSH 连接到没有默认主目录的群集无法在 SSH 中按 Tab 键自动完成。
症状 1)
当用户使用 AD 凭据登录 Isilon 时,将显示以下消息
或
症状 2)
Shell 默认使用 /bin/bash
症状 1)
当用户使用 AD 凭据登录 Isilon 时,将显示以下消息
Could not chdir to home directory /ifs/home/DIRECTORY/ADUSERNAME: No such file or directory
或
症状 2)
Shell 默认使用 /bin/bash
FreeCandy-1# isi auth users view 'MAINDOMAIN\ADUSERID' | grep Shell Shell: /bin/bash
Cause
症状 1)由于主目录下缺少 zshrc 文件
Resolution
症状 1 解决方法)
1) 为该特定用户创建新的主目录。# mkdir /ifs/home/DIRECTORY/ADUSERNAME
2) 将 zshrc 文件从根目录复制到用户目录。# cp /root/.zshrc /ifs/home/DIRECTORY/ADUSERNAME
3) refresh ssh # exec zsh
Symptoms 2 resolution)
1) 修改 Active Directory 端
的 loginShell 属性 2) Flush auth cache on Isilon # isi auth cache flush --all
1) 为该特定用户创建新的主目录。# mkdir /ifs/home/DIRECTORY/ADUSERNAME
2) 将 zshrc 文件从根目录复制到用户目录。# cp /root/.zshrc /ifs/home/DIRECTORY/ADUSERNAME
3) refresh ssh # exec zsh
Symptoms 2 resolution)
1) 修改 Active Directory 端
的 loginShell 属性 2) Flush auth cache on Isilon # isi auth cache flush --all
Affected Products
Isilon, PowerScale OneFSArticle Properties
Article Number: 000195742
Article Type: Solution
Last Modified: 28 Jun 2023
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.