Isilon:AD 使用者 SSH 至沒有預設主目錄的叢集無法在 SSH 中自動完成標籤

Summary: 使用Active Directory 登入資料登入但未建立主目錄的系統管理員,可能會在按下「標籤」按鈕時遇到命令無法自動完成的問題。

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 中設定標籤自動完成。

症狀 1)
當使用者使用 AD 登入資料登入 Isilon 時,會出現以下訊息
Could not chdir to home directory /ifs/home/DIRECTORY/ADUSERNAME: No such file or directory

OR

症狀 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) 重新整理 ssh # exec zsh

症狀 2 解決方法)
1) 修改 Active Directory 端
的 loginShell 屬性 2) 在 Isilon 上排清 auth 快取 # isi auth 快取排清 --all

Affected Products

Isilon, PowerScale OneFS
Article 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.