PowerScale: Isilon: Using sudo account after upgrade fails with "USER is not in the sudoers file. This incident is reported." (User Correctable)

摘要: Sudo accounts in a limited number of OneFS versions were created using a workaround. When the cluster is upgraded to a OneFS code version where the issue was fixed, those sudo accounts do not work correctly. ...

本文适用于 本文不适用于 本文并非针对某种特定的产品。 本文并非包含所有产品版本。

症状

Code was upgraded from a version of OneFS where isi_visudo was not working to a newer version of OneFS where isi_visudo was fixed.

sudo accounts established on a OneFS version with a defective isi_visudo experienced errors with sudo after upgrading to a rectified code version (such as, v8.1.0.4). Despite sudo account entries being confirmed in /etc/mcp/override/sudoers and /usr/local/etc/sudoers—which require root access—sudo did not function properly.

More output from the non-working sudo account can look like the following output, in addition to the USERNAME is not in the sudoers file error:

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.

原因

The issue is related to the OneFS code.

解决方案

Log in as the root user, and:

  1. Use
    isi_visudo
    and delete the USER account that was set up for sudo. Be careful only to delete the sudo account which is not working. Save the File. 
    :wq!
  2. Use
    isi_visudo
    and re-create the USER account with the correct settings. Save the File.

The code upgrade should not affect the roles and other authorizations. The user account and password remain unchanged. After performing the above steps, the account will function again.

受影响的产品

Isilon

产品

Isilon, PowerScale OneFS
文章属性
文章编号: 000059475
文章类型: Solution
上次修改时间: 01 4月 2025
版本:  4
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。