PowerScale:Isilon:升级后使用 sudo 帐户失败,并显示“USER 不在 sudoers 文件中。 据报道,这起事件。(用户可纠正)

Summary: 有限数量的 OneFS 版本中的 Sudo 帐户是使用解决方法创建的。当群集升级到修复了问题的 OneFS 代码版本时,这些 sudo 帐户无法正常工作。

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

代码是从 OneFS 版本升级而来的,其中 isi_visudo 无法在较新版本的 OneFS 上运行,其中 isi_visudo 已修复。

sudo 在具有缺陷的 OneFS 版本上建立的帐户 isi_visudo 遇到错误 sudo 升级到修正代码版本(例如 v8.1.0.4)后。尽管 sudo 正在确认的帐户条目 /etc/mcp/override/sudoers/usr/local/etc/sudoers— 这需要 root 访问 —sudo 无法正常工作。

来自不起作用的 sudo 帐户的更多输出可能类似于以下输出,此外还有 USERNAME is not in the sudoers file 错误:

MYCLUSTER-13% sudo isi status
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.
Password:
Sorry, user USERNAME is not allowed to execute '/usr/bin/isi status' as root on mycluster-13.

Cause

此问题与 OneFS 代码相关。

Resolution

root user,以及:

  1. 使用
    isi_visudo
    并删除为 设置的 USER 帐户 sudo。请注意,只删除 sudo 帐户不起作用。保存文件。 
    :wq!
  2. 使用
    isi_visudo
    并使用正确的设置重新创建 USER 帐户。保存文件。

代码升级不应影响角色和其他授权。用户帐户和密码保持不变。执行上述步骤后,该帐户将再次正常运行。

Affected Products

Isilon

Products

Isilon, PowerScale OneFS
Article Properties
Article Number: 000059475
Article Type: Solution
Last Modified: 01 Apr 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.