PowerScale:如何使用重复的用户名执行 SSH
Summary: 同一用户名可以存在于多个机构提供程序中,无论是 OneFS 本地还是外部。这可能会导致给定用户无法登录。另一个提供程序上的第二个 root 用户可以使群集的 root 访问权限看起来不可用。
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.
Instructions
使用域名通过 SSH 连接到群集:
#ssh <user>@<domain>@<ip> i.e. - #ssh root@UNIX_USERS@<ip>
重复的 root 用户出现在 isi auth users list:
# isi auth users list Name ------------- Guest root root admin compadmin remotesupport ftp insightiq www _lldpd nobody git_daemon ------------- Total: 12
这些用户在不同的域上共享相同的名称。
发出以下命令 字符串以查看这些是不同的用户:
# for i in $(isi auth status | grep active | awk '{print $1}'); do echo $i; isi auth users view root --provider=$i | egrep "Name|Domain|UID|UPN";echo ; done
lsa-local-provider:System
Name: root
DNS Domain: -
Domain: CLUSTER2
Sam Account Name: root
UID: 2000
Generated UID: No
Generated UPN: Yes
Name: Isilon Users
UPN: root@CLUSTER2
lsa-file-provider:System
Name: root
DNS Domain: -
Domain: UNIX_USERS
Sam Account Name: root
UID: 0
Generated UID: No
Generated UPN: Yes
Name: wheel
UPN: root@UNIX_USERS
上面显示了用于访问的有效用户主体名称 (UPN)。
Additional Information
请勿使用与 lsa-file-provider:System 提供程序。删除这些有助于防止访问或服务出现潜在问题。
访问的解决方法:
- 在 SSH 期间使用 UPN:
#ssh <user>@<domain>@<ip> i.e. - #ssh root@UNIX_USERS@<ip>
- 更改区域中的提供程序顺序,以便首选用户的提供程序首先显示。默认情况下,将其设置为
lsa-file-provider:System首先,真正的根植于何处lsa-file-provider:System。通过将文件提供程序放在首位,它会查看真正的根以了解登录详细信息。
# isi zone zones view System Name: System Path: /ifs Groupnet: groupnet0 Map Untrusted: - Auth Providers: lsa-local-provider:System, lsa-file-provider:System NetBIOS Name: - User Mapping Rules: - Home Directory Umask: 0077 Skeleton Directory: /usr/share/skel Cache Entry Expiry: 4H Negative Cache Entry Expiry: 1m Zone ID: 1
powerscale1-1# isi zone zones modify System --auth-providers=lsa-file-provider:System,lsa-local-provider:System
Affected Products
PowerScale OneFSProducts
PowerScale OneFSArticle Properties
Article Number: 000156516
Article Type: How To
Last Modified: 01 يوليو 2026
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.